diff options
author | Christian König <christian.koenig@amd.com> | 2024-03-15 15:07:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-27 18:13:03 +0300 |
commit | 2246736ab97e9c1fff1f805f6f79eba911ccccf0 (patch) | |
tree | 1fc37f3a846be5d16a278e37695300f955423f51 /drivers/gpu/drm/drm_vma_manager.c | |
parent | 0dcd876411644da98a6b4d5a18d32ca94c15bdb5 (diff) | |
download | linux-2246736ab97e9c1fff1f805f6f79eba911ccccf0.tar.xz |
drm/amdgpu: remove invalid resource->start check v2
commit ca7c4507ba87e9fc22e0ecfa819c3664b3e8287b upstream.
The majority of those where removed in the commit aed01a68047b
("drm/amdgpu: Remove TTM resource->start visible VRAM condition v2")
But this one was missed because it's working on the resource and not the
BO. Since we also no longer use a fake start address for visible BOs
this will now trigger invalid mapping errors.
v2: also remove the unused variable
Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: aed01a68047b ("drm/amdgpu: Remove TTM resource->start visible VRAM condition v2")
CC: stable@vger.kernel.org
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/drm_vma_manager.c')
0 files changed, 0 insertions, 0 deletions