[Intel-gfx] [PATCH 1/2] drm/i915: Assert the engine is idle before overwiting the HWS

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Fri Apr 7 07:22:11 UTC 2017


On ke, 2017-04-05 at 16:30 +0100, Chris Wilson wrote:
> When we update the global seqno (on the engine timeline), we modify HW
> state (both registers and mapped pages). As we do this, we should be
> sure that the HW is idle and we are not causing a conflict. The caller
> is supposed to wait_for_idle before calling us to update the seqno, so
> let's assert they have and the engine is indeed idle.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

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

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list