From: Jesse Barnes Date: Thu, 8 Jan 2009 18:42:15 +0000 (-0800) Subject: drm/i915: don't enable vblanks on disabled pipes X-Git-Tag: v2.6.29-rc2~7^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71e0ffa599f54058d9b8724b4b14d0486751681d;p=pandora-kernel.git drm/i915: don't enable vblanks on disabled pipes In some cases userland may be confused and try to wait on vblank events from pipes that aren't actually enabled. We shouldn't allow this, so return -EINVAL if the pipe isn't on. Signed-off-by: Jesse Barnes Signed-off-by: Eric Anholt Signed-off-by: Dave Airlie --- Reading git-diff-tree failed