OpenCloudOS-Kernel/drivers/gpu/drm/tinydrm
Noralf Trønnes f47056e880 drm/tinydrm: Fix fbdev pixel format
Due to copy/paste error, the fbdev format was changed to 32bpp = XRGB8888
which is an emulated format for the RGB565 drivers. Revert to to using the
fallback which is dev->mode_config.preferred_depth for the drivers that
set it or 32bpp for those that don't (repaper, st7586).

Fixes: 3eba392281 ("drm/tinydrm: Drop using tinydrm_device")
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190410124345.25945-1-noralf@tronnes.org
2019-04-11 16:16:06 +02:00
..
core drm: move tinydrm format conversion helpers to new drm_format_helper.c 2019-04-08 06:59:26 +02:00
Kconfig drm: Add an hx8367d tinydrm driver. 2018-10-30 16:23:38 -07:00
Makefile drm: Add an hx8367d tinydrm driver. 2018-10-30 16:23:38 -07:00
hx8357d.c drm/tinydrm: Fix fbdev pixel format 2019-04-11 16:16:06 +02:00
ili9225.c drm/tinydrm: Fix fbdev pixel format 2019-04-11 16:16:06 +02:00
ili9341.c drm/tinydrm: Fix fbdev pixel format 2019-04-11 16:16:06 +02:00
mi0283qt.c drm/tinydrm: Fix fbdev pixel format 2019-04-11 16:16:06 +02:00
mipi-dbi.c drm: move tinydrm format conversion helpers to new drm_format_helper.c 2019-04-08 06:59:26 +02:00
repaper.c drm/tinydrm: Fix fbdev pixel format 2019-04-11 16:16:06 +02:00
st7586.c drm/tinydrm: Fix fbdev pixel format 2019-04-11 16:16:06 +02:00
st7735r.c drm/tinydrm: Fix fbdev pixel format 2019-04-11 16:16:06 +02:00