Add gpu color LUT registers to rosalina

This commit is contained in:
panicbit 2018-04-15 03:11:18 +02:00
parent 2a840f2c79
commit b5728e9c11

View File

@ -34,6 +34,8 @@
#define GPU_FB_TOP_LEFT_ADDR_2 REG32(0x1040046C) #define GPU_FB_TOP_LEFT_ADDR_2 REG32(0x1040046C)
#define GPU_FB_TOP_FMT REG32(0x10400470) #define GPU_FB_TOP_FMT REG32(0x10400470)
#define GPU_FB_TOP_SEL REG32(0x10400478) #define GPU_FB_TOP_SEL REG32(0x10400478)
#define GPU_FB_TOP_COL_LUT_INDEX REG32(0x10400480)
#define GPU_FB_TOP_COL_LUT_ELEM REG32(0x10400484)
#define GPU_FB_TOP_STRIDE REG32(0x10400490) #define GPU_FB_TOP_STRIDE REG32(0x10400490)
#define GPU_FB_TOP_RIGHT_ADDR_1 REG32(0x10400494) #define GPU_FB_TOP_RIGHT_ADDR_1 REG32(0x10400494)
#define GPU_FB_TOP_RIGHT_ADDR_2 REG32(0x10400498) #define GPU_FB_TOP_RIGHT_ADDR_2 REG32(0x10400498)
@ -42,6 +44,8 @@
#define GPU_FB_BOTTOM_ADDR_2 REG32(0x1040056C) #define GPU_FB_BOTTOM_ADDR_2 REG32(0x1040056C)
#define GPU_FB_BOTTOM_FMT REG32(0x10400570) #define GPU_FB_BOTTOM_FMT REG32(0x10400570)
#define GPU_FB_BOTTOM_SEL REG32(0x10400578) #define GPU_FB_BOTTOM_SEL REG32(0x10400578)
#define GPU_FB_BOTTOM_COL_LUT_INDEX REG32(0x10400580)
#define GPU_FB_BOTTOM_COL_LUT_ELEM REG32(0x10400584)
#define GPU_FB_BOTTOM_STRIDE REG32(0x10400590) #define GPU_FB_BOTTOM_STRIDE REG32(0x10400590)
#define GPU_PSC0_CNT REG32(0x1040001C) #define GPU_PSC0_CNT REG32(0x1040001C)