Commit cab4c03b authored by Martin Cerveny's avatar Martin Cerveny Committed by Maxime Ripard

drm/sun4i: sun8i-csc: Secondary CSC register correction

"Allwinner V3s" has secondary video layer (VI).
Decoded video is displayed in wrong colors until
secondary CSC registers are programmed correctly.

Fixes: 88302939 ("drm/sun4i: Add DE2 CSC library")
Signed-off-by: default avatarMartin Cerveny <m.cerveny@computer.org>
Reviewed-by: default avatarJernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20200906162140.5584-2-m.cerveny@computer.org
parent ec653df2
...@@ -12,7 +12,7 @@ struct sun8i_mixer; ...@@ -12,7 +12,7 @@ struct sun8i_mixer;
/* VI channel CSC units offsets */ /* VI channel CSC units offsets */
#define CCSC00_OFFSET 0xAA050 #define CCSC00_OFFSET 0xAA050
#define CCSC01_OFFSET 0xFA000 #define CCSC01_OFFSET 0xFA050
#define CCSC10_OFFSET 0xA0000 #define CCSC10_OFFSET 0xA0000
#define CCSC11_OFFSET 0xF0000 #define CCSC11_OFFSET 0xF0000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment