display: fix hdmi tearing issue for dv20
authorGeng Xiujun <xiujun.geng@intel.com>
Thu, 3 May 2012 05:53:44 +0000 (13:53 +0800)
committerbuildbot <buildbot@intel.com>
Wed, 9 May 2012 02:31:04 +0000 (19:31 -0700)
BZ: 32739

lvds panel uses different variable to record panel status.

Change-Id: I0c46969a0c00def41c75708205dc47507054cace
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/47712
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Zhang, Lei <lei.zhang@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/staging/mrst/drv/psb_irq.c

index 0c57d88..22ffc12 100644 (file)
@@ -168,7 +168,11 @@ static int mipi_hdmi_vsync_check(struct drm_device *dev, uint32_t pipe)
        unsigned long irqflags;
 
        spin_lock_irqsave(&dev_priv->irqmask_lock, irqflags);
+#ifdef CONFIG_SUPPORT_TOSHIBA_MIPI_LVDS_BRIDGE
+       if (dev_priv->bhdmiconnected && dev_priv->dpi_panel_on) {
+#else
        if (dev_priv->bhdmiconnected && dsi_config->dsi_hw_context.panel_on) {
+#endif
                if (ospm_power_using_hw_begin(OSPM_DISPLAY_ISLAND, OSPM_UHB_ONLY_IF_ON)) {
                        pipea_stat = REG_READ(psb_pipestat(0));
                        pipeb_stat = REG_READ(psb_pipestat(1));