HDMI: rk_fb_disp_scale is disabled.
authorZheng Yang <zhengyang@rock-chips.com>
Tue, 14 Apr 2015 11:35:22 +0000 (19:35 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Tue, 14 Apr 2015 11:35:22 +0000 (19:35 +0800)
Overscan function is achieved by fb driver, so HDMI
driver do not call this function.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
drivers/video/rockchip/hdmi/rockchip-hdmi-lcdc.c

index 8a10edb91bb9c4c855771ee51534690165c443a4..571cc31e00e9bffdc26afd4779bd93ab94f7838f 100644 (file)
@@ -173,11 +173,11 @@ int hdmi_set_lcdc(struct hdmi *hdmi)
 
        if (rc == 0) {
                rk_fb_switch_screen(&screen, 1, hdmi->lcdc->id);
-               if (rk_fb_get_display_policy() != DISPLAY_POLICY_BOX)
+/*             if (rk_fb_get_display_policy() != DISPLAY_POLICY_BOX)
                        rk_fb_disp_scale(hdmi->xscale,
                                         hdmi->yscale,
                                         hdmi->lcdc->id);
-       }
+*/     }
        return rc;
 }