summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-05-21 10:29:16 -0400
committerAdam Jackson <ajax@redhat.com>2014-05-21 10:29:16 -0400
commit20e0b2f0677a248d2586b8c2f3c1569dd47a3427 (patch)
tree65e9fd245f25377a641e78ced57e4f746e181bb1
parent7a7e1364ab861df37c5a7457fc17c0b304221344 (diff)
On SE-A, if depth 24, prefer 24bpp
Because the thing is so ridiculously bandwidth-limited that it matters. Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/mga_driver.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 16b1f65..605fa6b 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -1750,7 +1750,13 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
*/
/* Prefer 32bpp */
- flags24 = Support24bppFb | Support32bppFb | PreferConvert24to32;
+ flags24 = Support24bppFb | Support32bppFb;
+
+ /* Prefer 24bpp on the bandwidth-poor SE-A, sigh */
+ if (pMga->Chipset == PCI_CHIP_MGAG200_SE_A_PCI)
+ flags24 |= SupportConvert32to24 | PreferConvert32to24;
+ else
+ flags24 |= PreferConvert24to32;
if (pMga->SecondCrtc)
flags24 = Support32bppFb;