]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only queue requests during execlists submission
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Sep 2016 13:11:42 +0000 (14:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Sep 2016 13:23:00 +0000 (14:23 +0100)
commit1f3f410127f2d6188869ec5477d8c791d0771e71
treee18f6d40b8d0bb2c01f2cd81f31baa378f78d23b
parent45bb8fa3a9b261a040cf794ea0e27e26f2b48606
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