Fix intermittent hotplug lost issue because of page flip.
authorHu Tiger Chen <hu.tiger.chen@intel.com>
Mon, 30 Jan 2012 22:17:20 +0000 (00:17 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:29:39 +0000 (12:29 +0300)
commitfcc2fdfb479becd58703654d78b67f2c3120d3d3
tree4cca8e0103e95b9878ab6c444b4e019d0081d14f
parentea560fd54487e83605c6f65dd4beba9b0d2b3261
Fix intermittent hotplug lost issue because of page flip.

Since the DRM page flip mechanism keeps updatign the crtc->fb member
with the current fb to be flipped, this gets out-of-sync with the
psb_fb_helper->fb member. In the event of a HDMI hotplug, this mismatch
causes the HDMI hotplug event to be deferred and never handled. Ensure
that we are keeping both the members in sync always during flip.

Signed-off-by: Arun Kannan <arun.kannan@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/psb_page_flip.c