Re: [PATCH 0/8] shadow page table support V5 ---> shadow bo support

2016-08-17 Thread StDenis, Tom
10:04 To: Zhou, David(ChunMing); amd-gfx@lists.freedesktop.org<mailto:amd-gfx@lists.freedesktop.org> Subject: Re: [PATCH 0/8] shadow page table support V5 ---> shadow bo support Patch #1: Could be that we need to add another module parameter to control this, but I think for now that shou

Re: [PATCH 0/8] shadow page table support V5 ---> shadow bo support

2016-08-17 Thread Christian König
[PATCH 0/8] shadow page table support V5 ---> shadow bo support Patch #1: Could be that we need to add another module parameter to control this, but I think for now that should be sufficient. Patch is Reviewed-by: Christian König Patch #2: > + if (direct_submit) { &

Re: [PATCH 0/8] shadow page table support V5 ---> shadow bo support

2016-08-17 Thread StDenis, Tom
4 To: Zhou, David(ChunMing); amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 0/8] shadow page table support V5 ---> shadow bo support Patch #1: Could be that we need to add another module parameter to control this, but I think for now that should be sufficient. Patch is Reviewed-by: Christian

Re: [PATCH 0/8] shadow page table support V5 ---> shadow bo support

2016-08-17 Thread Christian König
Patch #1: Could be that we need to add another module parameter to control this, but I think for now that should be sufficient. Patch is Reviewed-by: Christian König Patch #2: + if (direct_submit) { + r = amdgpu_ib_schedule(ring, job->num_ibs, job->ibs, +

[PATCH 0/8] shadow page table support V5 ---> shadow bo support

2016-08-16 Thread Chunming Zhou
Since we cannot ensure VRAM is consistent after a GPU reset, page table shadowing is necessary. Shadowed page tables are, in a sense, a method to recover the consistent state of the page tables before the reset occurred. We need to allocate GTT bo as the shadow of VRAM bo when creating page table,