intel: Defer tiling change to allocation.
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Jun 2010 13:27:23 +0000 (14:27 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Jun 2010 21:37:18 +0000 (22:37 +0100)
commit1db22ff741f92b84450ec13093e070a6ad5fc857
tree7e6f792f749866036c19c28804d9979c605dbab3
parent056aa9be04e923a45ca00924caa587d6dbf8821d
intel: Defer tiling change to allocation.

As we now expose a method to allocate tiled buffers, it makes more sense
to defer the SET_TILING until required. Besides the slim chance that it
will be a no-op, by delaying the change we are less likely to stall on
waiting for a bound buffer to release a fence register.

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