Re: [PATCH] drm/i915/selftests: Replace wmb() with i915_gem_chipset_flush()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Joonas Lahtinen (2017-09-29 10:31:22)
> 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@xxxxxxxxxxxxxxx>
> > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> > Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
> 
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

Thanks for the review, queued for pushing.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux