aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.c
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2012-08-11 09:00:30 -0400
committerAlex Deucher <alexander.deucher@amd.com>2012-09-20 13:10:40 -0400
commit2a6f1abbb48f1d90f20b8198c4894c0469468405 (patch)
treed32ccec823f7a6939689ec87b7a1cdb074291100 /drivers/gpu/drm/radeon/radeon_asic.c
parent3e8970f96ba2539539059736039f09624da9fe11 (diff)
drm/radeon: make page table updates async v2
Currently doing the update with the CP. v2: Rebased on Jeromes bugfix. Make validity comparison more human readable. Signed-off-by: Christian König <deathsimple@vodafone.de>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c
index 6e4e67edf60f..2f7adeab049b 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -1375,6 +1375,7 @@ static struct radeon_asic cayman_asic = {
1375 .vm = { 1375 .vm = {
1376 .init = &cayman_vm_init, 1376 .init = &cayman_vm_init,
1377 .fini = &cayman_vm_fini, 1377 .fini = &cayman_vm_fini,
1378 .pt_ring_index = RADEON_RING_TYPE_GFX_INDEX,
1378 .set_page = &cayman_vm_set_page, 1379 .set_page = &cayman_vm_set_page,
1379 }, 1380 },
1380 .ring = { 1381 .ring = {
@@ -1478,6 +1479,7 @@ static struct radeon_asic trinity_asic = {
1478 .vm = { 1479 .vm = {
1479 .init = &cayman_vm_init, 1480 .init = &cayman_vm_init,
1480 .fini = &cayman_vm_fini, 1481 .fini = &cayman_vm_fini,
1482 .pt_ring_index = RADEON_RING_TYPE_GFX_INDEX,
1481 .set_page = &cayman_vm_set_page, 1483 .set_page = &cayman_vm_set_page,
1482 }, 1484 },
1483 .ring = { 1485 .ring = {
@@ -1581,6 +1583,7 @@ static struct radeon_asic si_asic = {
1581 .vm = { 1583 .vm = {
1582 .init = &si_vm_init, 1584 .init = &si_vm_init,
1583 .fini = &si_vm_fini, 1585 .fini = &si_vm_fini,
1586 .pt_ring_index = RADEON_RING_TYPE_GFX_INDEX,
1584 .set_page = &cayman_vm_set_page, 1587 .set_page = &cayman_vm_set_page,
1585 }, 1588 },
1586 .ring = { 1589 .ring = {