]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only trigger missed-seqno checking next to boundary
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Jun 2018 20:13:02 +0000 (21:13 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Jun 2018 19:56:35 +0000 (20:56 +0100)
commit416c3fb0a8f1e104916ccfccb146c3e7dc239081
tree2158a840ce34c4a7fd3563bd2380428a34549f74
parentc71d5622c3ecaa3a5878dd324ffe25d7cfbb44eb
drm/i915: Only trigger missed-seqno checking next to boundary

If we have more interrupts pending (because we know there are more
breadcrumb signals before the completion), then we do not need to
trigger an irq_seqno_barrier or even wakeup the task on this interrupt
as there will be another. To allow some margin of error (we are trying
to work around incoherent seqno after all), we wakeup the breadcrumb
before the target as well as on the target.

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