[Intel-gfx] [PATCH 12/16] drm/915: fix relaxed tiling on gen2: tile height

Keith Packard keithp at keithp.com
Fri May 13 03:13:32 CEST 2011


On Thu, 12 May 2011 22:17:20 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> From: Daniel Vetter <daniel.vetter at ffwll.ch>
> 
> 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.

Please explain (in the commit message) the impact on both new and old
user space. I remember (vaguely) that this patch will cause old user
space to have issues.

If so, we'll need a way to detect new user space and provide correct
behaviour there without impacting old user space.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110512/adafeede/attachment.sig>


More information about the Intel-gfx mailing list