summaryrefslogtreecommitdiff
path: root/src/sna/sna_reg.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-11-01 17:02:17 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-11-01 21:12:02 +0000
commite0fd07bc251296784bf70f02877765171a053cc6 (patch)
tree0d0dba54a0cc85cffb90060d0e09448ee9c5288c /src/sna/sna_reg.h
parent22c43efe6b9b5f669593aa9f3af6ee437426c5d2 (diff)
sna: Accelerate XYPixmap upload when using GXcopy
Mostly for the lols. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_reg.h')
-rw-r--r--src/sna/sna_reg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna_reg.h b/src/sna/sna_reg.h
index f1fbd8b7..ff2ff3b7 100644
--- a/src/sna/sna_reg.h
+++ b/src/sna/sna_reg.h
@@ -43,7 +43,7 @@
#define BLT_DST_TILED (1<<11)
#define COLOR_BLT_CMD ((2<<29)|(0x40<<22)|(0x3))
-#define XY_COLOR_BLT_CMD ((2<<29)|(0x50<<22)|(0x4))
+#define XY_COLOR_BLT ((2<<29)|(0x50<<22)|(0x4))
#define XY_SETUP_BLT ((2<<29)|(1<<22)|6)
#define XY_SETUP_MONO_PATTERN_SL_BLT ((2<<29)|(0x11<<22)|7)
#define XY_SETUP_CLIP ((2<<29)|(3<<22)|1)
@@ -55,6 +55,7 @@
#define XY_MONO_PAT ((0x2<<29)|(0x52<<22)|0x7)
#define XY_MONO_SRC_COPY ((0x2<<29)|(0x54<<22)|(0x6))
#define XY_MONO_SRC_COPY_IMM ((0x2<<29)|(0x71<<22))
+#define XY_FULL_MONO_PATTERN_MONO_SRC_BLT ((0x2<<29)|(0x58<<22)|0xa)
/* FLUSH commands */
#define BRW_3D(Pipeline,Opcode,Subopcode) \