diff options
| author | Sunil Khatri <sunil.khatri@amd.com> | 2026-08-31 21:01:39 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-02 16:59:25 -0400 |
| commit | 3b5c4f4a479d0e58a7500cbd2b09d62f719f48b8 (patch) | |
| tree | b6fea3ff702dc8943300f16bca4b04cfd1c272d9 /scripts/Makefile.thinlto | |
| parent | 012a026bae0212952b423a842b7e2c0bf21f8e7a (diff) | |
| download | linux-3b5c4f4a479d0e58a7500cbd2b09d62f719f48b8.tar.gz linux-3b5c4f4a479d0e58a7500cbd2b09d62f719f48b8.zip | |
drm/amdgpu: fix byte/dword unit mismatch in coredump IB dump
In amdgpu_devcoredump_print_ibs(), the NO_CPU_ACCESS VRAM path passed
cursor.start/4 and cursor.size/4 to amdgpu_device_mm_access(), but that
function's pos/size parameters are byte offsets/lengths (confirmed by
amdgpu_ttm_vram_mm_access() and leading to wrong size calculation.
Similarly with that change the off index needs to be calculated
based on dword since that is a u32 type.
Fixes: 7b15fc2d1f1a ("drm/amdgpu: dump job ibs in the devcoredump")
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 1bd613b0ed98a23575b18674c94b8b3392614681)
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
