drm/amdgpu: save the PD addr before scheduling the job
authorChristian König <christian.koenig@amd.com>
Wed, 15 Jun 2016 11:44:04 +0000 (13:44 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:41 +0000 (14:54 -0400)
commit281d144ddd4f6b3944c32ab0f346b03f0de0e6b8
tree384ec5f120b6f6a3ad9fd40d1bc757200fd0370c
parent3ddf4ad9179779693a7656e67872fc37cc49e92b
drm/amdgpu: save the PD addr before scheduling the job

When we pipeline evictions the page directory could already be
moving somewhere else when grab_id is called.

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