modify framebuff to 24bit color

This commit is contained in:
root
2010-12-15 20:01:38 +08:00
parent 7327c9c397
commit 9faeceba5d
2 changed files with 2 additions and 2 deletions

2
drivers/video/display/screen/lcd_hsd100pxn.c Normal file → Executable file
View File

@@ -11,7 +11,7 @@
#define OUT_TYPE SCREEN_RGB
#define OUT_FACE OUT_D888_P666
#define OUT_CLK 65000000
#define LCDC_ACLK 150000000 //29 lcdc axi DMA Ƶ<><C6B5>
#define LCDC_ACLK 312000000 //29 lcdc axi DMA Ƶ<><C6B5>
/* Timing */
#define H_PW 10

View File

@@ -1415,7 +1415,7 @@ static int win1fb_set_par(struct fb_info *info)
else
{
LcdMskReg(inf, SWAP_CTRL, m_W1_8_SWAP | m_W1_16_SWAP | m_W1_R_SHIFT_SWAP | m_W1_565_RB_SWAP,
v_W1_8_SWAP(0) | v_W1_16_SWAP(0) | v_W1_R_SHIFT_SWAP(0) | v_W1_565_RB_SWAP(0) );
v_W1_8_SWAP(1) | v_W1_16_SWAP(1) | v_W1_R_SHIFT_SWAP(1) | v_W1_565_RB_SWAP(0) );
LcdMskReg(inf, DSP_CTRL0, m_W1_TRANSP_FROM, v_W1_TRANSP_FROM(TRSP_FMRAM==trspmode) );
}