[Intel-gfx] [PATCH 9/9] drm/i915: swizzling support for snb/ivb
Daniel Vetter
daniel at ffwll.ch
Fri Nov 11 20:51:35 CET 2011
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.
Cheers, Daniel
--
Daniel Vetter
daniel.vetter at ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list