OSDN Git Service

drm/i915/ringbuffer: 2-step restart
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 26 Nov 2018 12:28:21 +0000 (12:28 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 26 Nov 2018 14:20:43 +0000 (14:20 +0000)
commitb7f21899276a3e06ea3c98d0b3771f09eefc6e3d
tree556c867b6f626fca57a65b90572cc471ab20cba3
parent0e39037b3165567660b0e03f67534da5269a0465
drm/i915/ringbuffer: 2-step restart

We may be simply restarting too fast for the culmudgeonly gen3/gen4 as
we still see missing interrupts following a reset. So let's try
restarting a little slower, first wake up the ring empty and then tell
it about the work it has to perform.

References: https://bugs.freedesktop.org/show_bug.cgi?id=108735
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181126122821.4537-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c