drm/i915: return -ENODEV if hw context are not supported
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Jun 2012 15:16:01 +0000 (17:16 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Jun 2012 09:19:20 +0000 (11:19 +0200)
commit5fa8be65e950e4f2a4e7dc31f823fca41b9e650e
tree28911378984e09c52d2a1d8a30ae5d48acbd339c
parent73c273eb7547d2557b49f9d1f42e298145c1e635
drm/i915: return -ENODEV if hw context are not supported

Otherwise userspace has no way to figure this out.

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c