[Intel-gfx] [PATCH 01/11] drm/i915: flush CPU wc cache when flushing GTT write domain

Zhenyu Wang zhenyuw at linux.intel.com
Mon Jan 18 04:43:35 CET 2010


On 2010.01.15 13:24:08 +0100, Daniel Vetter wrote:
> There are no other instructions that force the CPU to flush the wc
> buffer before we tear down the corresponding fence reg with a
> pipelined write.

sfence? Although I'm still not quite clear what's the real race problem
of this one, but...

> IIRC this _might_ get reordered, so enforce correct
> ordering with a posting read to a harmless reg.
> 

the 'harmless' reg you choose is obviously broken on Ironlake.
If you really want to do something like that, a helper is a must and
may apply on some kind of chipsets only.

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100118/d4defe57/attachment.sig>


More information about the Intel-gfx mailing list