]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: move amdgpu_cs_sysvm_access_required into find_mapping
authorChristian König <christian.koenig@amd.com>
Wed, 6 Sep 2017 14:15:28 +0000 (16:15 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Sep 2017 18:27:22 +0000 (14:27 -0400)
commit62870f949973058e194372f0a1725e6fec033cba
treede96700a32acb9d5844842a649fd5931a93f5278
parent7b7573b486196813f2dfbc525dbc73f2212a11bf
drm/amdgpu: move amdgpu_cs_sysvm_access_required into find_mapping

When we need to find the mapping we need sysvm access anyway.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c