MFC: alpine: Default to 16bpp

24bpp support is going away, so since we can't do 32bpp and these cards
have basically no VRAM to begin with, drop to 16bpp.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
matthieu
2020-05-16 14:15:35 +00:00
parent df4ceb2300
commit 25e39ca9f7

View File

@@ -554,7 +554,7 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags)
* The first thing we should figure out is the depth, bpp, etc.
* We support both 24bpp and 32bpp layouts, so indicate that.
*/
if (!xf86SetDepthBpp(pScrn, 0, 0, 24, depth_flags)) {
if (!xf86SetDepthBpp(pScrn, 0, 0, 16, depth_flags)) {
return FALSE;
} else {
/* Check that the returned depth is one we support */