[PATCH 00/13] shadow page table support
Liu, Monk
Monk.Liu at amd.com
Tue Jul 26 08:52:57 UTC 2016
Correction, after full asic reset
BR Monk
-----Original Message-----
From: Liu, Monk
Sent: Tuesday, July 26, 2016 4:51 PM
To: 'Chunming Zhou' <David1.Zhou at amd.com>; amd-gfx at lists.freedesktop.org
Cc: Zhou, David(ChunMing) <David1.Zhou at amd.com>
Subject: RE: [PATCH 00/13] shadow page table support
Hi David
amdgpu_asic_reset will finally took over by SMU, which will reset GFX ip, BIF, etc.. but currently that logic will not clear VRAM at all, and no circuit drop will happen.
So with my understanding, no need to take care VRAM after full asic access...
BR Monk
-----Original Message-----
From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf Of Chunming Zhou
Sent: Monday, July 25, 2016 3:22 PM
To: amd-gfx at lists.freedesktop.org
Cc: Zhou, David(ChunMing) <David1.Zhou at amd.com>
Subject: [PATCH 00/13] shadow page table support
Since we cannot make sure VRAM is safe after gpu reset, page table backup is neccessary, shadow page table is sense way to recovery page talbe when gpu reset happens.
We need to allocate GTT bo as the shadow of VRAM bo when creating page table, and make them same. After gpu reset, we will need to use SDMA to copy GTT bo content to VRAM bo, then page table will be recoveried.
Chunming Zhou (13):
drm/amdgpu: add pd/pt bo shadow
drm/amdgpu: update shadow pt bo while update pt
drm/amdgpu: update pd shadow while updating pd
drm/amdgpu: implement amdgpu_vm_recover_page_table_from_shadow
drm/amdgpu: link all vm clients
drm/amdgpu: add vm_list_lock
drm/amd: add block entity function
drm/amdgpu: recover page tables after gpu reset
drm/amdgpu: add vm recover pt fence
drm/amd: reset hw count when reset job
drm/amd: fix deadlock of job_list_lock
drm/amd: wait neccessary dependency before running job
drm/amdgpu: fix sched deadoff
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 17 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 12 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 30 ++++-
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 5 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 5 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 161 ++++++++++++++++++++++++--
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 35 +++++-
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 3 +
8 files changed, 250 insertions(+), 18 deletions(-)
--
1.9.1
_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list