mirror-linux/drivers/gpu/drm/amd
Michel Dänzer 8d2c930735 drm/amdgpu: Fix comparison in amdgpu_res_cpu_visible
It incorrectly claimed a resource isn't CPU visible if it's located at
the very end of CPU visible VRAM.

Fixes: a6ff969fe9 ("drm/amdgpu: fix visible VRAM handling during faults")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3343
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reported-and-Tested-by: Jeremy Day <jsday@noreason.ca>
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
CC: stable@vger.kernel.org
2024-05-10 13:05:13 -04:00
..
acp
amdgpu drm/amdgpu: Fix comparison in amdgpu_res_cpu_visible 2024-05-10 13:05:13 -04:00
amdkfd drm/amdkfd: don't allow mapping the MMIO HDP page with large pages 2024-05-10 13:05:13 -04:00
amdxcp drm/amdxcp: fix amdxcp unloads incompletely 2023-10-26 19:04:53 -04:00
display drm/amd/display: MST DSC check for older devices 2024-05-08 15:50:00 -04:00
include drm/amdgpu/umsch: update UMSCH 4.0 FW interface 2024-03-27 09:29:42 -04:00
pm dm/amd/pm: Fix problems with reboot/shutdown for some SMU 13.0.4/13.0.11 users 2024-05-08 15:50:47 -04:00