]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only attempt to pass the first request to execlists
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Jan 2017 11:00:07 +0000 (11:00 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Jan 2017 16:00:13 +0000 (16:00 +0000)
commit9ad8f0a7fa7a669e1a7c9f19c0a10a8aa5301e6a
treecc7d1deb25f79f0d51d7dd32d9a53b35f82b3826
parentd195999867cdb37cd4975c15924439663b255121
drm/i915: Only attempt to pass the first request to execlists

Only the first request added to the execlist queue can be submitted. If
this request is not the first request on the queue, it means that there
are already higher priority requests waiting upon the tasklet and
kicking it will make no difference.

This is more relevant for a later patch, where we more eagerly try and
kick the tasklet to handle the submission of new requests.

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