summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2021-08-18 14:05:28 +0200
committerAlex Deucher <alexander.deucher@amd.com>2021-08-20 12:09:32 -0400
commit9deb0b3dcf13e573d54bec8498f044da9780f4e2 (patch)
tree50504e4811859439ab1ba1819965a8953cc4cf32 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parent8ac1696b1d6b9de0d31447d9e86fe8948b12dec1 (diff)
downloadlinux-9deb0b3dcf13e573d54bec8498f044da9780f4e2.tar.gz
linux-9deb0b3dcf13e573d54bec8498f044da9780f4e2.tar.bz2
linux-9deb0b3dcf13e573d54bec8498f044da9780f4e2.zip
drm/amdgpu: use the preferred pin domain after the check
For some reason we run into an use case where a BO is already pinned into GTT, but should be pinned into VRAM|GTT again. Handle that case gracefully as well. Reviewed-by: Shashank Sharma <Shashank.sharma@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Christian König <christian.koenig@amd.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