diff options
| author | Michel Dänzer <mdaenzer@redhat.com> | 2024-05-08 15:19:16 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-08 18:45:29 -0400 |
| commit | c4dcb47d46144d8f5b1ace1d8d2fcddeb5dacd8e (patch) | |
| tree | 813c297d23524e738b02bc076500f2070dcefeed /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/amdgpu: Fix buffer size to prevent truncation in gfx_v12_0_init_microcode (diff) | |
| download | linux-c4dcb47d46144d8f5b1ace1d8d2fcddeb5dacd8e.tar.gz linux-c4dcb47d46144d8f5b1ace1d8d2fcddeb5dacd8e.zip | |
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: a6ff969fe9cb ("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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
