commit | cd9d4e9f9fa2809dedc637406fa15016bfcb2ad0 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Apr 24 08:29:42 2012 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu May 03 11:18:14 2012 +0200 |
tree | 004796f781c192f694486b97667fc9e271a44fc9 | |
parent | 2e895b17d7df7af20f7fbdceff249795d2146d01 [diff] |
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 <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>