linux-brain/drivers/gpu/drm/meson
Christian Hewitt 991117eeee drm/meson: fix colour distortion from HDR set during vendor u-boot
[ Upstream commit bf33677a3c394bb8fddd48d3bbc97adf0262e045 ]

Add support for the OSD1 HDR registers so meson DRM can handle the HDR
properties set by Amlogic u-boot on G12A and newer devices which result
in blue/green/pink colour distortion to display output.

This takes the original patch submissions from Mathias [0] and [1] with
corrections for formatting and the missing description and attribution
needed for merge.

[0] https://lore.kernel.org/linux-amlogic/59dfd7e6-fc91-3d61-04c4-94e078a3188c@baylibre.com/T/
[1] https://lore.kernel.org/linux-amlogic/CAOKfEHBx_fboUqkENEMd-OC-NSrf46nto+vDLgvgttzPe99kXg@mail.gmail.com/T/#u

Fixes: 728883948b ("drm/meson: Add G12A Support for VIU setup")
Suggested-by: Mathias Steiger <mathias.steiger@googlemail.com>
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Philip Milev <milev.philip@gmail.com>
[narmsrong: adding missing space on second tested-by tag]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210806094005.7136-1-christianshewitt@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-08-18 08:56:59 +02:00
..
Kconfig Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2019-05-28 09:39:08 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
meson_crtc.c drm: meson: use match data to detect vpu compatibility 2019-08-22 17:54:05 +02:00
meson_crtc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
meson_drv.c drm/meson: fix shutdown crash when component not probed 2021-06-03 08:59:06 +02:00
meson_drv.h drm: meson: use match data to detect vpu compatibility 2019-08-22 17:54:05 +02:00
meson_dw_hdmi.c drm: meson: use match data to detect vpu compatibility 2019-08-22 17:54:05 +02:00
meson_dw_hdmi.h drm: meson: global clean-up 2019-08-09 12:06:14 +02:00
meson_overlay.c drm: meson: use match data to detect vpu compatibility 2019-08-22 17:54:05 +02:00
meson_overlay.h drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_plane.c drm: meson: use match data to detect vpu compatibility 2019-08-22 17:54:05 +02:00
meson_plane.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
meson_registers.h drm/meson: fix colour distortion from HDR set during vendor u-boot 2021-08-18 08:56:59 +02:00
meson_vclk.c drm/meson: vclk: use the correct G12A frac max value 2019-12-31 16:43:09 +01:00
meson_vclk.h drm/meson: drop use of drmP.h 2019-07-17 12:47:57 +02:00
meson_venc.c drm: meson: use match data to detect vpu compatibility 2019-08-22 17:54:05 +02:00
meson_venc.h drm/meson: drop use of drmP.h 2019-07-17 12:47:57 +02:00
meson_venc_cvbs.c drm: meson: venc: cvbs: fix CVBS mode matching 2019-12-21 11:04:55 +01:00
meson_venc_cvbs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
meson_viu.c drm/meson: fix colour distortion from HDR set during vendor u-boot 2021-08-18 08:56:59 +02:00
meson_viu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
meson_vpp.c drm: meson: use match data to detect vpu compatibility 2019-08-22 17:54:05 +02:00
meson_vpp.h drm/meson: drop use of drmP.h 2019-07-17 12:47:57 +02:00