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: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1445,7 +1445,7 @@ static struct radeon_asic cayman_asic = {
|
|||||||
.vm = {
|
.vm = {
|
||||||
.init = &cayman_vm_init,
|
.init = &cayman_vm_init,
|
||||||
.fini = &cayman_vm_fini,
|
.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,
|
.set_page = &cayman_vm_set_page,
|
||||||
},
|
},
|
||||||
.ring = {
|
.ring = {
|
||||||
@@ -1570,7 +1570,7 @@ static struct radeon_asic trinity_asic = {
|
|||||||
.vm = {
|
.vm = {
|
||||||
.init = &cayman_vm_init,
|
.init = &cayman_vm_init,
|
||||||
.fini = &cayman_vm_fini,
|
.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,
|
.set_page = &cayman_vm_set_page,
|
||||||
},
|
},
|
||||||
.ring = {
|
.ring = {
|
||||||
|
Reference in New Issue
Block a user