|
@@ -5439,9 +5439,7 @@ enum {
|
|
#define CURSOR_MODE_128_ARGB_AX ((1 << 5) | CURSOR_MODE_128_32B_AX)
|
|
#define CURSOR_MODE_128_ARGB_AX ((1 << 5) | CURSOR_MODE_128_32B_AX)
|
|
#define CURSOR_MODE_256_ARGB_AX ((1 << 5) | CURSOR_MODE_256_32B_AX)
|
|
#define CURSOR_MODE_256_ARGB_AX ((1 << 5) | CURSOR_MODE_256_32B_AX)
|
|
#define CURSOR_MODE_64_ARGB_AX ((1 << 5) | CURSOR_MODE_64_32B_AX)
|
|
#define CURSOR_MODE_64_ARGB_AX ((1 << 5) | CURSOR_MODE_64_32B_AX)
|
|
-#define MCURSOR_PIPE_SELECT (1 << 28)
|
|
|
|
-#define MCURSOR_PIPE_A 0x00
|
|
|
|
-#define MCURSOR_PIPE_B (1 << 28)
|
|
|
|
|
|
+#define MCURSOR_PIPE_SELECT(pipe) ((pipe) << 28)
|
|
#define MCURSOR_GAMMA_ENABLE (1 << 26)
|
|
#define MCURSOR_GAMMA_ENABLE (1 << 26)
|
|
#define CURSOR_ROTATE_180 (1<<15)
|
|
#define CURSOR_ROTATE_180 (1<<15)
|
|
#define CURSOR_TRICKLE_FEED_DISABLE (1 << 14)
|
|
#define CURSOR_TRICKLE_FEED_DISABLE (1 << 14)
|
|
@@ -5499,8 +5497,7 @@ enum {
|
|
#define DISPPLANE_PIPE_CSC_ENABLE (1<<24)
|
|
#define DISPPLANE_PIPE_CSC_ENABLE (1<<24)
|
|
#define DISPPLANE_SEL_PIPE_SHIFT 24
|
|
#define DISPPLANE_SEL_PIPE_SHIFT 24
|
|
#define DISPPLANE_SEL_PIPE_MASK (3<<DISPPLANE_SEL_PIPE_SHIFT)
|
|
#define DISPPLANE_SEL_PIPE_MASK (3<<DISPPLANE_SEL_PIPE_SHIFT)
|
|
-#define DISPPLANE_SEL_PIPE_A 0
|
|
|
|
-#define DISPPLANE_SEL_PIPE_B (1<<DISPPLANE_SEL_PIPE_SHIFT)
|
|
|
|
|
|
+#define DISPPLANE_SEL_PIPE(pipe) ((pipe)<<DISPPLANE_SEL_PIPE_SHIFT)
|
|
#define DISPPLANE_SRC_KEY_ENABLE (1<<22)
|
|
#define DISPPLANE_SRC_KEY_ENABLE (1<<22)
|
|
#define DISPPLANE_SRC_KEY_DISABLE 0
|
|
#define DISPPLANE_SRC_KEY_DISABLE 0
|
|
#define DISPPLANE_LINE_DOUBLE (1<<20)
|
|
#define DISPPLANE_LINE_DOUBLE (1<<20)
|