]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add helper function to get buffer domain
authorDeepak Sharma <Deepak.Sharma@amd.com>
Sat, 26 May 2018 00:12:29 +0000 (17:12 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 May 2018 18:17:51 +0000 (13:17 -0500)
commit2a820e7fd64075d63d514abcaa17584b3849b815
tree3e5b1eaf3aa1a39437d539684acb0cab81ce778f
parentf878a0fce53f763add6af922833d1cde22c141b5
drm/amdgpu: Add helper function to get buffer domain

Move logic of getting supported domain to a helper
function

Signed-off-by: Deepak Sharma <Deepak.Sharma@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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_gem.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h