drm/amdgpu: add amdgpu_gmc_get_pde_for_bo helper v2
authorChristian König <christian.koenig@amd.com>
Wed, 22 Aug 2018 12:11:19 +0000 (14:11 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 20:19:42 +0000 (15:19 -0500)
commit24a8d289d532003a167b8f52f97c50430db76ca3
tree92b5f81145f3de5a4659dc814a65ca0d9a386e02
parentbbc9fb10e581c5463961506df7504356b3bd0a61
drm/amdgpu: add amdgpu_gmc_get_pde_for_bo helper v2

Helper to get the PDE for a PD/PT.

v2: improve documentation

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