[Intel-gfx] [PATCH] drm/i915/selftests: Replace wmb() with i915_gem_chipset_flush()
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Fri Sep 29 09:31:22 UTC 2017
On Tue, 2017-09-26 at 16:34 +0100, Chris Wilson wrote:
> Currently, we are being fairly lazy and only using a wmb() following an
> update to an active batch. Previously, we have found that to be
> insufficient to ensure that a write from the CPU reaches memory in a
> timely fashion, and in some caches we may need to flush a chipset cache.
> To that end, we have i915_gem_chipset_flush() so use it.
>
> Suggested-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
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