]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Apply strongly ordered RCS breadcrumb to gen8/legacy
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 12:18:21 +0000 (13:18 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 12:58:26 +0000 (13:58 +0100)
commit6aa72cd0e7635f73b84227b50ac1a058ac9906f6
treecd3f7060ab0f2a54a0d26ed28a1f7326e44b550e
parent3cf022a1205f3808ad07e6a10f5ff9f6398e86c4
drm/i915: Apply strongly ordered RCS breadcrumb to gen8/legacy

For legacy ringbuffer mode, we need the new ordered breadcrumb emission
tried and tested on execlists in order to avoid the dreaded "missed
interrupt" syndrome. A secondary advantage of the execlists method is
that it writes to an arbitrary address, useful if one wants to write a
breadcrumb elsewhere.

This fix is taken from commit 7464caca3df91 (drm/i915: Use ordered seqno
write interrupt generation on gen8+ execlists).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461932305-14637-1-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h