OSDN Git Service

drm/i915/scheduler: Signal the arrival of a new request
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Nov 2016 20:41:01 +0000 (20:41 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Nov 2016 21:00:26 +0000 (21:00 +0000)
commit0de9136dbbc9f6882bb375270eaddf1b999081bf
tree499c909d8225159858f7057cdc6fa3c50b1b3ddc
parent663f71e73ffd16327745f752269f5059bf196464
drm/i915/scheduler: Signal the arrival of a new request

The start of the scheduler, add a hook into request submission for the
scheduler to see the arrival of new requests and prepare its runqueues.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161114204105.29171-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_gem_request.c
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_ringbuffer.h
include/uapi/drm/i915_drm.h