drm/i915: Require HW contexts (when possible)
authorBen Widawsky <benjamin.widawsky@intel.com>
Wed, 6 Nov 2013 15:56:29 +0000 (13:56 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Nov 2013 08:35:44 +0000 (09:35 +0100)
commit8245be31391974dc756a21cf2f2e25c7f53637c5
treee1ca8e2b38a9d90e9bb71a8c6ddf9767d01c0624
parent2ec3815f29d1b7659ecf3f1791e7e394efdd6969
drm/i915: Require HW contexts (when possible)

v2: Fixed the botched locking on init_hw failure in i915_reset (Ville)
Call cleanup_ringbuffer on failed context create in init_hw (Ville)

v3: Add dev argument ti clean_ringbuffer

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_sysfs.c