diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-06 15:26:11 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-06 17:50:01 +0000 |
commit | 9f1935bb4e894264053d94e53c99d5ad607700fb (patch) | |
tree | 689fdc95dda28ba227cf26d9ee2347a303962bb8 /src/sna/sna_reg.h | |
parent | 141001df6c9c3485c500ed531a214c09b46c1d3b (diff) |
sna: Support performing alpha-fixup on the source
By inlining the swizzling of the alpha-channel we can support BLT copies
from an alpha-less pixmap to an alpha-destination.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_reg.h b/src/sna/sna_reg.h index ff2ff3b7..551d64b0 100644 --- a/src/sna/sna_reg.h +++ b/src/sna/sna_reg.h @@ -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_BLT ((0x2<<29)|(0x57<<22)|0xa) #define XY_FULL_MONO_PATTERN_MONO_SRC_BLT ((0x2<<29)|(0x58<<22)|0xa) /* FLUSH commands */ |