Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33e54678 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: use DMA engine for VM page table updates on cayman/TN



DMA engine has special packets to facilitate this and it also keeps
the 3D engine free for other things.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3b6b59b6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1445,7 +1445,7 @@ static struct radeon_asic cayman_asic = {
	.vm = {
		.init = &cayman_vm_init,
		.fini = &cayman_vm_fini,
		.pt_ring_index = RADEON_RING_TYPE_GFX_INDEX,
		.pt_ring_index = R600_RING_TYPE_DMA_INDEX,
		.set_page = &cayman_vm_set_page,
	},
	.ring = {
@@ -1570,7 +1570,7 @@ static struct radeon_asic trinity_asic = {
	.vm = {
		.init = &cayman_vm_init,
		.fini = &cayman_vm_fini,
		.pt_ring_index = RADEON_RING_TYPE_GFX_INDEX,
		.pt_ring_index = R600_RING_TYPE_DMA_INDEX,
		.set_page = &cayman_vm_set_page,
	},
	.ring = {