diff options
| author | Jesse.Zhang <Jesse.Zhang@amd.com> | 2026-03-23 13:31:54 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-03-24 13:30:36 -0400 |
| commit | 5c82adf957dcb187add5ee3209439c67b63df538 (patch) | |
| tree | e22c19399670d7238ce3111b2a80a28671ae93a1 /include/linux/i2c/git@git.tavy.me:linux-stable.git | |
| parent | bdb2b9e1e08f34a4897c9f2558b4c9941638a6e5 (diff) | |
drm/amdgpu: use DISCOVERY_TMR_SIZE in ACPI TMR fallback
amdgpu_acpi_get_tmr_info() returns the full TMR region size, not the IP
discovery table size. Using tmr_size as discovery.size can lead to oversized
allocations and probe failure.
In the ACPI fallback path, keep discovery.size as DISCOVERY_TMR_SIZE and only
use ACPI data for offset calculation.
Fixes: 01bdc7e219c4 ("drm/amdgpu: New interface to get IP discovery binary v3")
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Suggested-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
