linux/drivers/gpu/drm/ingenic
Paul Cercueil 6055466203
drm/ingenic: Upload palette before frame
When using C8 color mode, make sure that the palette is always uploaded
before a frame; otherwise the very first frame will have wrong colors.

Do that by changing the link order of the DMA descriptors.

v3: Fix ingenic_drm_get_new_priv_state() called instead of
    ingenic_drm_get_priv_state()

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20211026181240.213806-6-paul@crapouillou.net
Tested-by: Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Christophe Branchereau <cbranchereau@gmail.com>
2021-10-29 21:30:11 +01:00
..
ingenic-drm-drv.c drm/ingenic: Upload palette before frame 2021-10-29 21:30:11 +01:00
ingenic-drm.h drm/ingenic: Add option to alloc cached GEM buffers 2021-05-25 11:42:53 +01:00
ingenic-ipu.c drm/ingenic: Move IPU scale settings to private state 2021-10-29 21:29:53 +01:00
ingenic-ipu.h drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00
Kconfig drm/ingenic: depend on COMMON_CLK to fix compile tests 2020-12-04 10:05:25 +00:00
Makefile drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00