]> 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)
commit7d4771fe6acd5067b74c5e5426d9c2ec0486d558
treef107483f0713d6d96417b07d4fd344bea7a1e6f9
parent15f138352a362da7c188ebe74bb5015f79e6ecea
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