drm/amdgpu: add amdgpu_vm_pt_parent helper
authorChristian König <christian.koenig@amd.com>
Thu, 30 Aug 2018 13:55:54 +0000 (15:55 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 21:30:16 +0000 (16:30 -0500)
commitba79fde47b9b3a04932a5385e5530616a77d4536
tree8825294fcecb300ebd7a6fa3c85f695a0a9c618f
parent7893499e3022542f6522847837487019ea83f142
drm/amdgpu: add amdgpu_vm_pt_parent helper

Add a function to get the parent of a PD/PT.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@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_vm.c