diff options
| author | Stuart Menefy <[email protected]> | 2022-09-08 15:52:43 +0000 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2022-09-09 11:34:06 +0000 |
| commit | 6463d3930ba5b6addcfc8f80a4543976a2fc7656 (patch) | |
| tree | fd4031740ed857f2cc031b42e709ca5bb1867357 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | drm/meson: Correct OSD1 global alpha value (diff) | |
| download | kernel-6463d3930ba5b6addcfc8f80a4543976a2fc7656.tar.gz kernel-6463d3930ba5b6addcfc8f80a4543976a2fc7656.zip | |
drm/meson: Fix OSD1 RGB to YCbCr coefficient
VPP_WRAP_OSD1_MATRIX_COEF22.Coeff22 is documented as being bits 0-12,
not 16-28.
Without this the output tends to have a pink hue, changing it results
in better color accuracy.
The vendor kernel doesn't use this register. However the code which
sets VIU2_OSD1_MATRIX_COEF22 also uses bits 0-12. There is a slightly
different style of registers for configuring some of the other matrices,
which do use bits 16-28 for this coefficient, but those have names
ending in MATRIX_COEF22_30, and this is not one of those.
Signed-off-by: Stuart Menefy <[email protected]>
Fixes: 728883948b0d ("drm/meson: Add G12A Support for VIU setup")
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions
