mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
rk312x lcdc: add interlace condition for interlace read
This commit is contained in:
@@ -750,7 +750,7 @@ static int rk3036_lcdc_set_par(struct rk_lcdc_driver *dev_drv, int win_id)
|
||||
win->scale_yrgb_x = calscale(win->area[0].xact, win->post_cfg.xsize);
|
||||
win->scale_yrgb_y = calscale(win->area[0].yact, win->post_cfg.ysize);
|
||||
win->interlace_read = 0;
|
||||
if((screen->mode.xres == 720) &&
|
||||
if( (screen->mode.vmode == 1) && (screen->mode.xres == 720) &&
|
||||
((screen->mode.yres == 576) || (screen->mode.yres == 480))) {
|
||||
if(win->scale_yrgb_y > 2*0x1000)
|
||||
win->interlace_read = 1;
|
||||
|
||||
@@ -1147,7 +1147,7 @@ static int rk312x_lcdc_set_par(struct rk_lcdc_driver *dev_drv, int win_id)
|
||||
win->scale_yrgb_y = CalScale(win->area[0].yact, win->area[0].ysize);
|
||||
|
||||
win->interlace_read = 0;
|
||||
if((screen->mode.xres == 720) &&
|
||||
if((screen->mode.vmode == 1) && (screen->mode.xres == 720) &&
|
||||
((screen->mode.yres == 576) || (screen->mode.yres == 480))) {
|
||||
if (lcdc_dev->soc_type == VOP_RK3036) {
|
||||
if (win->scale_yrgb_y > 2*0x1000)
|
||||
|
||||
Reference in New Issue
Block a user