On Sat, 26 Mar 2011 20:55:15 +0100, Daniel Vetter <[email protected]> wrote: > A tile on gen2 has a size of 2kb, stride of 128 bytes and 16 rows.
Nice patch, marries the code to the documentation (afaict). Should split it into its two distinct fixes though. Both -next material, perhaps. And thankfully explains the 2*8 fixup we needed for userspace, but note it is also wrong for Y-tiling on gen2. So, afaics, there is no way with the current interface the kernel can stop userspace from shooting itself in the foot. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
