intel: Convert to untiled pitches if surface is too large for tiling.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 9 Jun 2010 09:08:41 +0000 (10:08 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 9 Jun 2010 09:18:31 +0000 (10:18 +0100)
commite65caeba9ed0e6c53830d944248aaae2228351ab
treecc8c2f3fc95d1e8ddeffcccceeccfdadfd18df7d
parentf179137f8f5bf272b79266575121c7a04038290c
intel: Convert to untiled pitches if surface is too large for tiling.

If the pitch is too large for the hardware to tile, recompute the
required surface size based on the untiled pitch and alignments. For the
older hardware, which has smaller limits and greater restrictions, this
may be a considerable saving in allocation size.

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