video: fbdev: starfive: fix fb bug about HDMI display

This commit is contained in:
Qing Zhao 2021-05-15 23:18:49 +08:00 committed by Emil Renner Berthing
parent 3c9983174f
commit 830f2a86e8

View file

@ -541,9 +541,10 @@ static int sf_fb_pan_display(struct fb_var_screeninfo *var,
switch(sf_dev->display_dev->interface_info) {
case STARFIVEFB_MIPI_IF:
case STARFIVEFB_HDMI_IF:
//lcdc_run(sf_dev,0x2, 0x1);
lcdc_run(sf_dev,0x2, 0x1);
break;
case STARFIVEFB_RGB_IF:
lcdc_run(sf_dev,0x2, 0x1);
break;
default:
break;