]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: cleanup VM handling in the CS a bit
authorChristian König <christian.koenig@amd.com>
Fri, 17 Aug 2018 13:07:13 +0000 (15:07 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:17 +0000 (11:11 -0500)
commit8b7addebac164d5f4f778ec77d22140c951511fa
treeb3ebe9f6952be60368760167441e436edb20090b
parent1e2c33c141f44cde0526e68ddc831da501410137
drm/amdgpu: cleanup VM handling in the CS a bit

Add a helper function for getting the root PD addr and cleanup join the
two VM related functions and cleanup the function name.

No functional change.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c