From: Rob Clark Date: Tue, 22 Apr 2014 16:27:28 +0000 (-0400) Subject: drm/msm/mdp4: cure for the cursor blues (v2) X-Git-Tag: omap-for-v3.16/pm-signed~33^2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d8d9f670513593377cd1442f987ce03a64ba55d;p=pandora-kernel.git 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 Signed-off-by: Rob Clark --- Reading git-diff-tree failed