Skip to content

Commit

Permalink
drm/sun4i: sun8i-csc: Secondary CSC register correction
Browse files Browse the repository at this point in the history
"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 <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
  • Loading branch information
Martin Cerveny authored and Maxime Ripard committed Sep 10, 2020
1 parent ec653df commit cab4c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/sun4i/sun8i_csc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cab4c03

Please sign in to comment.