]> git.baikalelectronics.ru Git - kernel.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)
commitb66eaa59ed2be9aed2d87976debeb2d3e86473f2
tree3516837ffc5c5224ad4a2c1675c5078eab101a1b
parentf27150fc64968bd0c003d3375ebbb574e9555d85
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