[Intel-gfx] [PATCH] drm/i915: Avoid moving from CPU domain during pwrite

Eric Anholt eric at anholt.net
Fri May 28 20:02:13 CEST 2010


On Thu, 27 May 2010 14:21:01 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> We can avoid an early clflush when pwriting if we use the current CPU
> write domain rather than moving the object to the GTT domain for the
> purposes of the pwrite. This has the advantage of not flushing the
> presumably hot data that we want to upload into the bo, and of ascribing
> the clflush to the execution when profiling.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Seems reasonable.  Applied.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100528/d7aae69a/attachment.sig>


More information about the Intel-gfx mailing list