mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
0c921edf01
commit
3b38701a72
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user