drm/i915: Only queue requests during execlists submission
commitba49b2f8237b0241fb86660812c0b235580ac182
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Sep 2016 13:11:42 +0000 (9 14:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Sep 2016 13:23:00 +0000 (9 14:23 +0100)
treee18f6d40b8d0bb2c01f2cd81f31baa378f78d23b
parente68a139f6bf38eb9fb8f61de8789870465c2ffaa
drm/i915: Only queue requests during execlists submission

Leave the more complicated request dequeueing to the tasklet and instead
just kick start the tasklet if we detect we are adding the first
request.

v2: Play around with list operators until we agree upon something

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