drm/amdkfd: Use functions from amdgpu for setting up page table base
authorYong Zhao <Yong.Zhao@amd.com>
Fri, 12 Oct 2018 19:27:39 +0000 (15:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:06 +0000 (14:21 -0500)
commit1728801409e4bf11dea101408774bede2ffb720c
treee1eb747b3122daed545b58f20150d9edc1e8e089
parentc7ff7be62bc25864dd4571763a8ba76d6270e6ce
drm/amdkfd: Use functions from amdgpu for setting up page table base

Use the functions from amdgpu to avoid directly programming registers in
amdgpu_amdkfd_gfx_v9.c.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@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_amdkfd_gfx_v9.c