projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec653df
)
drm/sun4i: sun8i-csc: Secondary CSC register correction
author
Martin Cerveny
<m.cerveny@computer.org>
Sun, 6 Sep 2020 16:21:39 +0000
(18:21 +0200)
committer
Maxime Ripard
<maxime@cerno.tech>
Thu, 10 Sep 2020 11:08:43 +0000
(13:08 +0200)
"Allwinner V3s" has secondary video layer (VI).
Decoded video is displayed in wrong colors until
secondary CSC registers are programmed correctly.
Fixes:
883029390550
("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
drivers/gpu/drm/sun4i/sun8i_csc.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/sun4i/sun8i_csc.h
b/drivers/gpu/drm/sun4i/sun8i_csc.h
index
f42441b
..
a55a38a
100644
(file)
--- a/
drivers/gpu/drm/sun4i/sun8i_csc.h
+++ b/
drivers/gpu/drm/sun4i/sun8i_csc.h
@@
-12,7
+12,7
@@
struct sun8i_mixer;
/* VI channel CSC units offsets */
#define CCSC00_OFFSET 0xAA050
-#define CCSC01_OFFSET 0xFA0
0
0
+#define CCSC01_OFFSET 0xFA0
5
0
#define CCSC10_OFFSET 0xA0000
#define CCSC11_OFFSET 0xF0000