screen->standby = NULL;\r
screen->dsp_lut = dsp_lut;\r
}\r
+\r
+size_t get_fb_size(void)\r
+{\r
+ size_t size = 0;\r
+ #if defined(CONFIG_THREE_FB_BUFFER)\r
+ size = ((H_VD)*(V_VD)<<2)* 3; //three buffer\r
+ #else\r
+ size = ((H_VD)*(V_VD)<<2)<<1; //two buffer\r
+ #endif\r
+ return ALIGN(size,SZ_1M);\r
+}\r
+\r
screen->sscreen_set = rk610_lcd_scaler_set_param;
#endif
}
+
+size_t get_fb_size(void)
+{
+ size_t size = 0;
+ #if defined(CONFIG_THREE_FB_BUFFER)
+ size = ((H_VD)*(V_VD)<<2)* 3; //three buffer
+ #else
+ size = ((H_VD)*(V_VD)<<2)<<1; //two buffer
+ #endif
+ return ALIGN(size,SZ_1M);
+}
screen->sscreen_set = rk610_lcd_scaler_set_param;
#endif
}
+
+size_t get_fb_size(void)
+{
+ size_t size = 0;
+ #if defined(CONFIG_THREE_FB_BUFFER)
+ size = ((H_VD)*(V_VD)<<2)* 3; //three buffer
+ #else
+ size = ((H_VD)*(V_VD)<<2)<<1; //two buffer
+ #endif
+ return ALIGN(size,SZ_1M);
+}
+
static inline void set_lcd_info(struct rk29fb_screen *screen, struct rk29lcd_info *lcd_info) {}
#else
extern void set_lcd_info(struct rk29fb_screen *screen, struct rk29lcd_info *lcd_info);
+extern size_t get_fb_size(void);
#endif
extern void set_tv_info(struct rk29fb_screen *screen);
extern void set_hdmi_info(struct rk29fb_screen *screen);