]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/amdgpu: allocate shadow for pd/pt bo V2
authorChunming Zhou <David1.Zhou@amd.com>
Thu, 4 Aug 2016 05:59:32 +0000 (13:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2016 14:42:53 +0000 (10:42 -0400)
commit1baa439fb2f4e586bf387cbbc515468ebb16e587
tree3516837ffc5c5224ad4a2c1675c5078eab101a1b
parent14fd833efa3f13619623501de5e2221dfdab7f7f
drm/amdgpu: allocate shadow for pd/pt bo V2

The pd/pt shadow bo will be used to backup page table, when gpu reset
happens, we can restore the page table by them.
V2:
Free shadow bo.

Signed-off-by: Chunming Zhou <David1.Zhou@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_vm.c