Timo Aaltonen pushed to branch debian-unstable at X Strike Force / driver / xserver-xorg-video-vesa
Commits:
-
07ad38e6
by Adam Jackson at 2019-03-08T08:44:28Z
-
7870aa47
by Timo Aaltonen at 2019-03-08T08:46:06Z
-
af881ade
by Timo Aaltonen at 2019-03-08T08:46:18Z
2 changed files:
Changes:
1 |
+xserver-xorg-video-vesa (1:2.4.0-2) unstable; urgency=medium
|
|
2 |
+ |
|
3 |
+ * Cherry-pick a commit to fix default bpp selection. (LP: #1818879)
|
|
4 |
+ |
|
5 |
+ -- Timo Aaltonen <tjaalton@debian.org> Fri, 08 Mar 2019 10:46:08 +0200
|
|
6 |
+ |
|
1 | 7 |
xserver-xorg-video-vesa (1:2.4.0-1) unstable; urgency=medium
|
2 | 8 |
|
3 | 9 |
[ Sven Joachim ]
|
... | ... | @@ -683,12 +683,14 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags) |
683 | 683 |
V_MODETYPE_VBE);
|
684 | 684 |
|
685 | 685 |
/* Preferred order for default depth selection. */
|
686 |
- if (depths & V_DEPTH_24)
|
|
686 |
+ if (depths & V_DEPTH_24 && (flags24 & Support32bppFb))
|
|
687 | 687 |
defaultDepth = 24;
|
688 | 688 |
else if (depths & V_DEPTH_16)
|
689 | 689 |
defaultDepth = 16;
|
690 | 690 |
else if (depths & V_DEPTH_15)
|
691 | 691 |
defaultDepth = 15;
|
692 |
+ else if (depths & V_DEPTH_24)
|
|
693 |
+ defaultDepth = 24; /* ew though */
|
|
692 | 694 |
else if (depths & V_DEPTH_8)
|
693 | 695 |
defaultDepth = 8;
|
694 | 696 |
else if (depths & V_DEPTH_4)
|