mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
drm/sun4i: sun8i-csc: Secondary CSC register correction
[ Upstream commit cab4c03b4ba54c8d9378298cacb8bc0fd74ceece ]
"Allwinner V3s" has secondary video layer (VI).
Decoded video is displayed in wrong colors until
secondary CSC registers are programmed correctly.
Fixes: 8830293905 ("drm/sun4i: Add DE2 CSC library")
Signed-off-by: Martin Cerveny <m.cerveny@computer.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20200906162140.5584-2-m.cerveny@computer.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
12bea822db
commit
248c25e772
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ struct sun8i_mixer;
|
|||
|
||||
/* VI channel CSC units offsets */
|
||||
#define CCSC00_OFFSET 0xAA050
|
||||
#define CCSC01_OFFSET 0xFA000
|
||||
#define CCSC01_OFFSET 0xFA050
|
||||
#define CCSC10_OFFSET 0xA0000
|
||||
#define CCSC11_OFFSET 0xF0000
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue