Skip to contentSkip to conversation

drm/amdgpu: update the shadow PD together with the real one

PATCH New Christian König 1 participant 1 message Sep 16, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: update the shadow PD together with the real one

From: Christian König <[email protected]>

Far less CPU cycles needed for this approach.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu.h    |   1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 134 +++++++++++++++++----------------
 2 files changed, 69 insertions(+), 66 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0 -1
index f949b59..864ea4e 100644
@@ -821,7 +821,6 @@ struct amdgpu_ring {
 struct amdgpu_vm_pt {
 	struct amdgpu_bo_list_entry	entry;
 	uint64_t			addr;
-	uint64_t			shadow_addr;
 };
 
 struct amdgpu_vm {
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +69 -65

198 lines not on this page · raw message

Signature · 6 lines
2.5.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx