diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-10-22 16:22:39 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-12-10 22:21:42 (GMT) |
commit | 33e5467871b3007c4e6deea95b2cac38a55ff9f5 (patch) | |
tree | 3fe759b9fabe30e9abd656aeb968bd9e4765f8fe /drivers | |
parent | 3b6b59b610f0c0f351e68ec3eff9ab51ef75fb1a (diff) | |
download | linux-33e5467871b3007c4e6deea95b2cac38a55ff9f5.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index 8505060..8b8f218 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c @@ -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 = { |