On Sun, May 15, 2011 at 02:58:26PM -0700, Keith Packard wrote:
> I have this vague memory of some problem in the past with tiling and old
> user space for Gen2 hardware. I assume that old user space will just do
> bad things, but that there's nothing the kernel can do to fix it, right?
Ok, I'll tr
On Sun, 15 May 2011 22:43:41 +0200, Daniel Vetter wrote:
> No problem for old userspace. This only changes the number of rows from 32
> to 16. This value is used in the kernel to align buffers correctly, i.e.
> it will save perhaps a tiny bit of gtt. Userspace on the other hand
> assumed only 8 r
On Thu, May 12, 2011 at 06:13:32PM -0700, Keith Packard wrote:
> On Thu, 12 May 2011 22:17:20 +0100, Chris Wilson
> wrote:
> > From: Daniel Vetter
> >
> > A tile on gen2 has a size of 2kb, stride of 128 bytes and 16 rows.
> >
> > Userspace was broken and assumed 8 rows. Chris Wilson noted that
On Thu, 12 May 2011 22:17:20 +0100, Chris Wilson
wrote:
> From: Daniel Vetter
>
> A tile on gen2 has a size of 2kb, stride of 128 bytes and 16 rows.
>
> Userspace was broken and assumed 8 rows. Chris Wilson noted that the
> kernel unfortunately can't reliable check that because libdrm rounds
>
From: Daniel Vetter
A tile on gen2 has a size of 2kb, stride of 128 bytes and 16 rows.
Userspace was broken and assumed 8 rows. Chris Wilson noted that the
kernel unfortunately can't reliable check that because libdrm rounds
up the size to the next bucket.
Signed-off-by: Daniel Vetter
Signed-o