summaryrefslogtreecommitdiff
path: root/libkms/linux.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-06-09 10:08:41 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-06-09 10:18:31 +0100
commite65caeba9ed0e6c53830d944248aaae2228351ab (patch)
treecc8c2f3fc95d1e8ddeffcccceeccfdadfd18df7d /libkms/linux.c
parentf179137f8f5bf272b79266575121c7a04038290c (diff)
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>
Diffstat (limited to 'libkms/linux.c')
0 files changed, 0 insertions, 0 deletions