intel: Only adjust the local stride used for SET_TILING in tiled alloc
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Jun 2010 12:03:52 +0000 (13:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Jun 2010 12:03:52 +0000 (13:03 +0100)
commit6ea2bda5f5ec8f27359760ce580fdad3df0464df
tree20c2639c8b505a029db3bb4141a918c12e940281
parentaba3502190a5bd2203e71ae2b1b7dd5aeb223905
intel: Only adjust the local stride used for SET_TILING in tiled alloc

Mesa uses the returned pitch from alloc_tiled, so make sure that we set
it correctly before modifying the stride used for the SET_TILING call.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
intel/intel_bufmgr_gem.c