[Intel-gfx] [PATCH 9/9] drm/i915: swizzling support for snb/ivb
eric at anholt.net
Fri Nov 11 11:58:23 PST 2011
On Fri, 11 Nov 2011 20:51:35 +0100, Daniel Vetter <daniel at ffwll.ch> wrote:
> On Fri, Nov 11, 2011 at 20:37, Eric Anholt <eric at anholt.net> wrote:
> > I was assuming you were working on this because you were planning on
> > building something that *used* this swizzling. We removed all the
> > userland because we never got it to actually work.
> I have started to look into the swizzle test because we absolutely
> need correct swizzle information for swapout/in. Doing a pread/pwrite
> instead of forcing the machine to swap simply gets the results much
> quicker (but I plan to have a separate swap test, too). While
> wrestling around with swizzling I've just added in the gen6+ stuff
> here, which I've noticed a while back on bspec review. And it indeed
> seems to speed things up a wee bit.
> I certainly don't plan to use this swizzle information in real
> userspace clients ;-) but hopefully this work leads to a more correct
> swap code.
Oh, yeah, swap. Good point, sounds like a plan. If you manage to get
reliable swapping of tiled data on 945g, I'll owe you all the beers.
(But not if you use the blitter to untile for swapping or something.
That would just be cheating)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Intel-gfx