OpenCloudOS-Kernel/drivers/gpu/drm/msm/mdp
Rob Clark 7d8d9f6705 drm/msm/mdp4: cure for the cursor blues (v2)
The hw cursor is relatively adept at triggering underflows, which
manifest as a "blue flash" (since blue is configured as the underflow
color).  Juggle a few things around to tighten up the timing for setting
cursor registers in DONE irq.

And most importantly, don't ever disable the hw cursor.  Instead flip it
to a blank/empty cursor.  This seems far more reliable, as even simply
clearing the cursor-enable bit (with no other updates in previous/
following frames) can in some cases cause underflow.

v1: original
v2: add missing locking spotted by Micah

Cc: Micah Richert <richert@braincorporation.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2014-04-25 08:58:23 -04:00
..
mdp4 drm/msm/mdp4: cure for the cursor blues (v2) 2014-04-25 08:58:23 -04:00
mdp5 drm/msm/mdp4: cure for the cursor blues (v2) 2014-04-25 08:58:23 -04:00
mdp_common.xml.h drm/msm: resync generated headers 2014-01-09 14:38:59 -05:00
mdp_format.c drm/msm: mdp4_format -> mdp_format 2014-01-09 14:43:58 -05:00
mdp_kms.c drm/msm/mdp: add timeout for irq wait 2014-03-31 10:27:46 -04:00
mdp_kms.h drm/msm: move irq utils to mdp_kms 2014-01-09 14:44:05 -05:00