]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Rename i915_gem_engine_cleanup() to engine_set_wedged()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jan 2017 17:22:46 +0000 (17:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jan 2017 20:49:32 +0000 (20:49 +0000)
commitac267e876f818f6897b09f30a9c64dc76ee537a3
treec9a9c692c9e84efbfed04bcb9bf65b07b4bb62ad
parentefcc71cd6be44382364d4258dc8b98dfeab81dd8
drm/i915: Rename i915_gem_engine_cleanup() to engine_set_wedged()

It has been some time since i915_gem_engine_cleanup was only called from
the module unload path, and now it is only called when the GPU is
wedged. Mika complained that the name is confusing, especially in light
of the existence of i915_gem_cleanup_engines().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170110172246.27297-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c