OSDN Git Service

drm/amdgpu: fix new PD update code for Vega10 v2
authorChristian König <christian.koenig@amd.com>
Thu, 31 Aug 2017 08:46:20 +0000 (10:46 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2017 17:46:08 +0000 (13:46 -0400)
commit0f2fc435d837213202bec3b8e26fbb67a4d6df24
tree3156f0ac0d4246d46faf3b03a1b5bc2124de0780
parent705e519e0ef1d1824c28ced3b1857a8608853dfb
drm/amdgpu: fix new PD update code for Vega10 v2

We need to refer to the parent instead of the root BO for multi
level page tables on Vega10. Also don't set the PDE_PTE bit.

v2: Don't set the PDE_PTE bit either.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-and-Tested-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c