]> git.karo-electronics.de Git - linux-beck.git/commit
drm/amdgpu: check domain sanity in amdgpu_bo_pin_restricted()
authorFlora Cui <Flora.Cui@amd.com>
Thu, 18 Aug 2016 04:55:13 +0000 (12:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Aug 2016 16:31:19 +0000 (12:31 -0400)
commit408778e8e9656105aa4df2fe7dce54244ccdd3d7
tree7a2df61cf702fde6b21bf9932cb38d779cf4dec2
parentc632d7994360aa06158ccb089ad7e4814ce8f08b
drm/amdgpu: check domain sanity in amdgpu_bo_pin_restricted()

abort if the bo is pined to other domain already

Signed-off-by: Flora Cui <Flora.Cui@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c