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-10 13:05:13 -0400 |
commit | 8d2c930735f850e5be6860aeb39b27ac73ca192f (patch) | |
tree | ae443241f5894c5e31e49c392b092689016dd218 /drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c | |
parent | be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7 (diff) |
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_fw_attestation.c')
0 files changed, 0 insertions, 0 deletions