Files
linux/drivers/gpu/drm
Chris Wilson 708ea87260 drm/i915: Only reset seqno if actually idle
Before we can reset the seqno, we have to be sure the engines are idle.
In debugfs/i915_drop_caches_set, we do wait_for_idle but allow ourselves
to be interrupted. We should only proceed to reset the seqno then if we
were not interrupted, and so also avoid overwriting the error status.

References: https://bugs.freedesktop.org/show_bug.cgi?id=108133
Fixes: 6b048706f4 ("drm/i915: Forcibly flush unwanted requests in drop-caches")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181004082119.24970-1-chris@chris-wilson.co.uk
(cherry picked from commit 88a83f3c2d)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2018-10-17 18:23:43 -07:00
..
2018-09-09 14:19:18 +02:00
2018-10-04 11:03:34 +10:00
2018-10-02 09:36:56 +03:00
2018-10-09 17:07:12 -05:00
2018-09-27 02:54:54 -04:00
2018-09-27 02:54:54 -04:00
2018-09-27 11:06:46 +10:00
2018-07-13 18:40:28 +02:00
2018-10-04 11:03:34 +10:00
2018-09-09 14:19:18 +02:00