aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/r600d.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-11 14:48:05 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-07-14 10:11:26 -0400
commit072b5acc7edec1530acc0497b48616bf8dd93313 (patch)
tree900a7f7a647a6bee38a13eeea8aebadd9917dc84 /drivers/gpu/drm/radeon/r600d.h
parentaeea40cbf9388fc829e66fa049f64d97fd72e118 (diff)
drm/radeon: implement bo copy callback using CP DMA (v2)
Lighter weight than using the 3D engine. v2: fix ring count Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600d.h')
-rw-r--r--drivers/gpu/drm/radeon/r600d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600d.h b/drivers/gpu/drm/radeon/r600d.h
index f1b3084d8f5..8e3fe815eda 100644
--- a/drivers/gpu/drm/radeon/r600d.h
+++ b/drivers/gpu/drm/radeon/r600d.h
@@ -602,6 +602,7 @@
#define L2_BUSY (1 << 0)
#define WAIT_UNTIL 0x8040
+#define WAIT_CP_DMA_IDLE_bit (1 << 8)
#define WAIT_2D_IDLE_bit (1 << 14)
#define WAIT_3D_IDLE_bit (1 << 15)
#define WAIT_2D_IDLECLEAN_bit (1 << 16)