summaryrefslogtreecommitdiff
path: root/uxa
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-06-23 21:28:50 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-06-23 21:33:36 +0100
commit6d33e578de4e23336ac69cc3c5d0935a65d4dda1 (patch)
tree26e08f5a5f86e299037b741c3cbb4a71f9e37a5b /uxa
parent5bf470bd38b1f6a7a540585186a54c9dbbca98f9 (diff)
Limit maximum tiled stride to 8k and untiled to 32k.
Tiling on gen 2/3 hardware is only supported for pitches up to 8192 bytes, so above this limit the surface will be untiled and we will no longer have to comply with the power-of-two pitch alignment. So disabling tiling for these too wide surface should ~halve the memory requirement for the full surface. Also the absolute limit for the 2D blitter is 32,768 bytes. The documentation says "up to 32,768 bytes" and my PineView box was malfunction with a surface stride of 32,768 so set the limit to be 32,767. References: Bug 28497 - Graphics corruption after opening a specific website https://bugs.freedesktop.org/show_bug.cgi?id=28497 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa')
0 files changed, 0 insertions, 0 deletions