]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move find_active_request() to the engine
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Mar 2019 18:03:32 +0000 (18:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Mar 2019 18:20:06 +0000 (18:20 +0000)
commit172eb29db205e7b3d0a199c6acbca513512dfaa9
treef107483f0713d6d96417b07d4fd344bea7a1e6f9
parent113557d5184e6e7360cd379a86020df23aacd694
drm/i915: Move find_active_request() to the engine

To find the active request, we need only search along the individual
engine for the right request. This does not require touching any global
GEM state, so move it into the engine compartment.

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/20190305180332.30900-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_ringbuffer.h