rk fb: add some key parameter for layer_par,wirite config done when show logo

This commit is contained in:
yxj
2013-02-23 14:17:42 +08:00
parent f7681daed3
commit ecb79598d3
2 changed files with 31 additions and 20 deletions

View File

@@ -1241,6 +1241,7 @@ int rk_fb_register(struct rk_lcdc_device_driver *dev_drv,
fb_inf->fb[0]->fbops->fb_pan_display(&(fb_inf->fb[0]->var), fb_inf->fb[0]);
}
#endif
fb_inf->fb[0]->fbops->fb_ioctl(fb_inf->fb[0],RK_FBIOSET_CONFIG_DONE,NULL);
}
#endif

View File

@@ -192,26 +192,36 @@ typedef enum _TRSP_MODE
} TRSP_MODE;
struct layer_par {
char name[5];
int id;
bool state; //on or off
u32 pseudo_pal[16];
u32 y_offset; //yuv/rgb offset -->LCDC_WINx_YRGB_MSTx
u32 c_offset; //cb cr offset--->LCDC_WINx_CBR_MSTx
u32 xpos; //start point in panel --->LCDC_WINx_DSP_ST
u32 ypos;
u16 xsize; // display window width/height -->LCDC_WINx_DSP_INFO
u16 ysize;
u16 xact; //origin display window size -->LCDC_WINx_ACT_INFO
u16 yact;
u16 xvir; //virtual width/height -->LCDC_WINx_VIR
u16 yvir;
unsigned long smem_start;
unsigned long cbr_start; // Cbr memory start address
enum data_format format;
bool support_3d;
char name[5];
int id;
bool state; //on or off
u32 pseudo_pal[16];
u32 y_offset; //yuv/rgb offset -->LCDC_WINx_YRGB_MSTx
u32 c_offset; //cb cr offset--->LCDC_WINx_CBR_MSTx
u32 xpos; //start point in panel --->LCDC_WINx_DSP_ST
u32 ypos;
u16 xsize; // display window width/height -->LCDC_WINx_DSP_INFO
u16 ysize;
u16 xact; //origin display window size -->LCDC_WINx_ACT_INFO
u16 yact;
u16 xvir; //virtual width/height -->LCDC_WINx_VIR
u16 yvir;
unsigned long smem_start;
unsigned long cbr_start; // Cbr memory start address
enum data_format format;
bool support_3d;
u32 scale_yrgb_x;
u32 scale_yrgb_y;
u32 scale_cbcr_x;
u32 scale_cbcr_y;
u32 dsp_stx;
u32 dsp_sty;
u32 vir_stride;
u32 y_addr;
u32 uv_addr;
u8 fmt_cfg;
u8 swap_rb;
};
struct rk_lcdc_device_driver{