[Intel-gfx] [PATCH] drm/i915: Enforce read order into the hardware status page csb

Chris Wilson chris at chris-wilson.co.uk
Thu Apr 12 13:57:42 UTC 2018


Quoting Mika Kuoppala (2018-04-12 14:52:37)
> Read ordering on cpu can be out of order and speculative.

If it didn't include a barrier to prevent compiler mispeculation. rmb()
only applies to other CPU cores and not the GPU so this is entirely
hocus.
-Chris


More information about the Intel-gfx mailing list