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

2010-05-28 Thread Eric Anholt
On Thu, 27 May 2010 14:21:01 +0100, Chris Wilson 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

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

2010-05-27 Thread Chris Wilson
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 e