summaryrefslogtreecommitdiff
path: root/driver/xf86-video-cirrus
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2020-05-16 14:15:36 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2020-05-16 14:15:36 +0000
commit7e2f2fed37576cd7015930493d6262af046b597a (patch)
tree7840fb23b2769709422ff0fa21debd7b354b5789 /driver/xf86-video-cirrus
parent0bad6d8c5707c4331a8528cacce157706d4f8947 (diff)
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>
Diffstat (limited to 'driver/xf86-video-cirrus')
-rw-r--r--driver/xf86-video-cirrus/src/alp_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/xf86-video-cirrus/src/alp_driver.c b/driver/xf86-video-cirrus/src/alp_driver.c
index 60480097e..42ac73396 100644
--- a/driver/xf86-video-cirrus/src/alp_driver.c
+++ b/driver/xf86-video-cirrus/src/alp_driver.c
@@ -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 */