[Intel-gfx] [PATCH] drm/i915: Only reset seqno if actually idle

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Fri Oct 5 07:45:20 UTC 2018


Quoting Chris Wilson (2018-10-04 11:21:19)
> 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.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108133
> Fixes: 6b048706f407 ("drm/i915: Forcibly flush unwanted requests in drop-caches")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas


More information about the Intel-gfx mailing list