From: Daniel Vetter Date: Tue, 24 Apr 2012 06:29:42 +0000 (+0200) Subject: drm/i915: check for kms in dri1 ioctls X-Git-Tag: v3.5-rc1~83^2~8^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd9d4e9f9fa2809dedc637406fa15016bfcb2ad0;p=pandora-kernel.git drm/i915: check for kms in dri1 ioctls Calling these when gem assumes full control of the hw won't end in anything else than tears. So be a bit more paranoid here. Just serves as documentation. v2: Bail out with ENODEV as suggested by Chris Wilson. Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed