gfx: fix local screen blank out with rapid hotplug/unplugs
authorArun Kannan <arun.kannan@intel.com>
Fri, 30 Mar 2012 02:43:25 +0000 (19:43 -0700)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:30:49 +0000 (12:30 +0300)
commitf45312bab0f0b9efcd6700bdb7a0f1d7316d6899
tree7bf14d4a23a289f77d5e7a85439feab20e066a86
parentb7982b26a4ab29475bd2acd355b3a48bb0534bd4
gfx: fix local screen blank out with rapid hotplug/unplugs

Local display blanks out with too many rapid hot-plug/unplugs. This is
due to the call to drm_disable_unused_functions from the bottom-half irq
handler. This ends up as a race condition for this function which is called
once from drm and once from the bottom-half causing local display to get
into bad state.

Issue: HSD 207129
Signed-off-by: Amit Bhanagay <amit.bhanagay@intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/staging/mrst/drv/otm_hdmi/os/android/android_hdmi.c