sna: Allow TearFree updates to continue even when the GPU is wedged

Graphics / X.Org / xf86-video-intel - Chris Wilson [chris-wilson.co.uk] - 16 October 2014 03:39 UTC

Even if we cannot render using the GPU, we should still be able to request that the outputs be flipped. So try, and only if that fails, resort to writing directly into the scanout.

References: https://bugs.freedesktop.org/show_bug.cgi?id=85058

6b98f16 sna: Allow TearFree updates to continue even when the GPU is wedged
src/sna/sna_accel.c | 1 +
src/sna/sna_display.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 83 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share