From: Daniel Vetter Date: Fri, 6 Jun 2014 06:22:08 +0000 (+0200) Subject: drm/i915: Only wait one vblank when disabling crc if the pipe is on X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~63^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a33d7105c4e905c895c41d8caf6bd8f85b2e3ce7;p=pandora-kernel.git drm/i915: Only wait one vblank when disabling crc if the pipe is on Otherwise we incur an unsightly WARNING. The mutex locking is a bit overkill, but it curbs races and eventially we might grow a locking check in the vblank wait code to make sure the right crtc lock is held. This is fallout from commit 9393707190194eb8b42e412b444a03331db6862f Author: Jesse Barnes AuthorDate: Fri Apr 4 16:12:09 2014 -0700 drm/i915: warn when a vblank wait times out Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79612 Tested-by: Guo Jinxian Reviewed-by: Ville Syrjälä [danvet: Rebase on top of drm core ww locking changes.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed