Skip to content

Commit cab4c03

Browse files
mcervenymripard
authored andcommitted
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: 8830293 ("drm/sun4i: Add DE2 CSC library") Signed-off-by: Martin Cerveny <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ec653df commit cab4c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/sun4i/sun8i_csc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct sun8i_mixer;
1212

1313
/* VI channel CSC units offsets */
1414
#define CCSC00_OFFSET 0xAA050
15-
#define CCSC01_OFFSET 0xFA000
15+
#define CCSC01_OFFSET 0xFA050
1616
#define CCSC10_OFFSET 0xA0000
1717
#define CCSC11_OFFSET 0xF0000
1818

0 commit comments

Comments
 (0)