]> Git Repo - linux.git/commit
drm/amdgpu: use the preferred pin domain after the check
authorChristian König <[email protected]>
Wed, 18 Aug 2021 12:05:28 +0000 (14:05 +0200)
committerAlex Deucher <[email protected]>
Fri, 20 Aug 2021 16:09:32 +0000 (12:09 -0400)
commit9deb0b3dcf13e573d54bec8498f044da9780f4e2
tree50504e4811859439ab1ba1819965a8953cc4cf32
parent8ac1696b1d6b9de0d31447d9e86fe8948b12dec1
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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
This page took 0.056468 seconds and 4 git commands to generate.