Patch #1-#4 are Reviewed-by: Christian König ,
please commit those so that we can consider them as done.
Patch #5:
+int amdgpu_bo_sync_between_bo_and_shadow(struct amdgpu_device *adev,
+struct amdgpu_ring *ring,
+
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,