mirror_ubuntu-kernels/drivers/gpu/drm/mgag200
Thomas Zimmermann 5415bec18c drm/mgag200: Force 32 bpp on the console
G200ER does not seem to support 24 bpp, so force the console to
use 32 bpp. The problem got introduced when commit 73f54d5d96
("drm/mgag200: Remove special case for G200SE with <2 MiB") changed
the preferred color depth from 32 bit to 24 bit.

A setting of 24 is the correct color depth, but G200ER doesn't seem
to be able to use the respective RGB888 color format. Using 24-bit
color with forced 32 bpp works around the problem.

Reported-by: Wang Yugui <wangyugui@e16-tech.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Wang Yugui <wangyugui@e16-tech.com>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Fixes: 73f54d5d96 ("drm/mgag200: Remove special case for G200SE with <2 MiB")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Jocelyn Falempe <jfalempe@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20220915150348.31504-1-tzimmermann@suse.de
2022-09-20 09:20:23 +02:00
..
Kconfig drm/mgag200: Add support for G200 desktop cards 2020-08-03 09:43:00 +02:00
Makefile drm/mgag200: Implement new init logic 2022-06-07 09:39:54 +02:00
mgag200_drv.c drm/mgag200: Force 32 bpp on the console 2022-09-20 09:20:23 +02:00
mgag200_drv.h drm/mgag200: Store positions of I2C data and clock bits in device info 2022-06-07 09:40:11 +02:00
mgag200_g200.c drm/mgag200: Include <linux/vmalloc.h> for G200 BIOS code 2022-06-09 11:18:21 +02:00
mgag200_g200eh3.c drm/mgag200: Store positions of I2C data and clock bits in device info 2022-06-07 09:40:11 +02:00
mgag200_g200eh.c drm/mgag200: Store positions of I2C data and clock bits in device info 2022-06-07 09:40:11 +02:00
mgag200_g200er.c drm/mgag200: Store positions of I2C data and clock bits in device info 2022-06-07 09:40:11 +02:00
mgag200_g200ev.c drm/mgag200: Store positions of I2C data and clock bits in device info 2022-06-07 09:40:11 +02:00
mgag200_g200ew3.c drm/mgag200: Store positions of I2C data and clock bits in device info 2022-06-07 09:40:11 +02:00
mgag200_g200se.c drm/mgag200: Store positions of I2C data and clock bits in device info 2022-06-07 09:40:11 +02:00
mgag200_g200wb.c drm/mgag200: Store positions of I2C data and clock bits in device info 2022-06-07 09:40:11 +02:00
mgag200_i2c.c drm/mgag200: Store positions of I2C data and clock bits in device info 2022-06-07 09:40:11 +02:00
mgag200_mode.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
mgag200_pll.c drm/mgag200: Initialize each model in separate function 2022-06-07 09:39:44 +02:00
mgag200_reg.h drm/mgag200: Store vidrst flag in device info 2022-06-07 09:40:08 +02:00