diff options
author | Ragha Khandenahally <ragha@ti.com> | 2011-06-08 16:00:52 +0200 |
---|---|---|
committer | Sebastien Jan <s-jan@ti.com> | 2011-06-09 19:22:28 +0200 |
commit | 63dd05601644cdac9cdc540eb2f6000d5e3401c9 (patch) | |
tree | 3445faacddc81941adc2d7a0daa2a68ce43c1be2 | |
parent | f953da7f107f55b37c3ba7658919689b8b9cb086 (diff) |
OMAP4: SGX: fix race condition for HDMI at boot
fb_set_var was causing a race condition when HDMI is plugged in at boot.
-rw-r--r-- | drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c b/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c index e69fec55017..0240fc5fd1e 100644 --- a/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c +++ b/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c @@ -1625,8 +1625,6 @@ static OMAP_ERROR InitDev(OMAPLFB_DEVINFO *psDevInfo) /* Calculate the buffers according to the flipping technique */ #if defined(FLIP_TECHNIQUE_FRAMEBUFFER) - psLINFBInfo->var.activate = FB_ACTIVATE_FORCE; - fb_set_var(psLINFBInfo, &psLINFBInfo->var); /* note: calculate by fb size, not yres_virtual, as drm will set * yres_virtual back to yres */ @@ -1648,8 +1646,6 @@ static OMAP_ERROR InitDev(OMAPLFB_DEVINFO *psDevInfo) * Flipping is not supported, return the framebuffer to * its original state */ - psLINFBInfo->var.activate = FB_ACTIVATE_FORCE; - fb_set_var(psLINFBInfo, &psLINFBInfo->var); buffers_available = 1; } psDevInfo->sDisplayInfo.ui32MaxSwapChainBuffers = buffers_available; |