]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Move idle barrier cleanup into engine-pm
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Oct 2019 13:40:01 +0000 (14:40 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Oct 2019 14:39:16 +0000 (15:39 +0100)
commitb72348406927740d4cfb55f2c1e19c6769ffc666
tree13991e423d8f9c4e2836613b94d13fa00d661cb1
parentb1e3177bd1d8f41e2a9cc847e56a96cdc0eefe62
drm/i915: Move idle barrier cleanup into engine-pm

Now that we now longer need to guarantee that the active callback is
under the struct_mutex, we can lift it out of the i915_gem_park() and
into the engine parking itself.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191004134015.13204-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_pm.c
drivers/gpu/drm/i915/gt/intel_engine_pm.c
drivers/gpu/drm/i915/i915_active.c