diff options
author | Vadim Girlin <vadimgirlin@gmail.com> | 2013-11-01 10:36:39 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-11-01 12:36:35 -0400 |
commit | 3b38701a72fa1cad1e4610a2f4330b3da4cc6391 (patch) | |
tree | 5f664d4a48479e719c6c00976535c5df9738a57e /src/radeon_bo_helper.c | |
parent | 0c921edf0162fed616cea9d02e168b719243bcd2 (diff) |
radeon: disable 2D tiling on buffers < 128 pixels
Seems to run into alignment problems with certain
card configurations.
bug:
https://bugs.freedesktop.org/show_bug.cgi?id=70675
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_bo_helper.c')
-rw-r--r-- | src/radeon_bo_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_bo_helper.c b/src/radeon_bo_helper.c index 539590cb..ed964d7b 100644 --- a/src/radeon_bo_helper.c +++ b/src/radeon_bo_helper.c @@ -124,7 +124,7 @@ radeon_alloc_pixmap_bo(ScrnInfoPtr pScrn, int width, int height, int depth, surface.last_level = 0; surface.bpe = cpp; surface.nsamples = 1; - if (height < 64) { + if (height < 128) { /* disable 2d tiling for small surface to work around * the fact that ddx align height to 8 pixel for old * obscure reason i can't remember |