OrangePi_CM5/drivers/gpu/drm/rcar-du
Laurent Pinchart d0e3ab637d drm: rcar-du: Fix CRTC timings when CMM is used
[ Upstream commit f0ce591dc9a97067c6e783a2eaccd22c5476144d ]

When the CMM is enabled, an offset of 25 pixels must be subtracted from
the HDS (horizontal display start) and HDE (horizontal display end)
registers. Fix the timings calculation, and take this into account in
the mode validation.

This fixes a visible horizontal offset in the image with VGA monitors.
HDMI monitors seem to be generally more tolerant to incorrect timings,
but may be affected too.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 10:54:14 +01:00
..
Kconfig drm: rcar-du: Update description for DRM_RCAR_DW_HDMI Kconfig entry 2020-09-22 14:10:05 +03:00
Makefile
…
rcar_cmm.c drm: rcar-du: Fix PM reference leak in rcar_cmm_enable() 2021-03-04 11:37:37 +01:00
rcar_cmm.h
…
rcar_du_crtc.c drm: rcar-du: Fix CRTC timings when CMM is used 2022-01-27 10:54:14 +01:00
rcar_du_crtc.h
…
rcar_du_drv.c drm: rcar-du: Add r8a77961 support 2020-09-22 14:10:05 +03:00
rcar_du_drv.h drm: rcar-du: Fix crash when using LVDS1 clock for CRTC 2021-03-04 11:37:38 +01:00
rcar_du_encoder.c drm: rcar-du: Fix crash when using LVDS1 clock for CRTC 2021-03-04 11:37:38 +01:00
rcar_du_encoder.h
…
rcar_du_group.c
…
rcar_du_group.h
…
rcar_du_kms.c drm: rcar-du: Fix the return check of of_parse_phandle and of_find_device_by_node 2021-03-04 11:37:38 +01:00
rcar_du_kms.h drm: rcar-du: Fix pitch handling for fully planar YUV formats 2020-09-22 14:10:05 +03:00
rcar_du_of.c
…
rcar_du_of.h
…
rcar_du_of_lvds_r8a7790.dts
…
rcar_du_of_lvds_r8a7791.dts
…
rcar_du_of_lvds_r8a7793.dts
…
rcar_du_of_lvds_r8a7795.dts
…
rcar_du_of_lvds_r8a7796.dts
…
rcar_du_plane.c
…
rcar_du_plane.h
…
rcar_du_regs.h
…
rcar_du_vsp.c Miscellaneous R-Car display driver changes: 2020-09-23 08:19:29 +10:00
rcar_du_vsp.h
…
rcar_du_writeback.c
…
rcar_du_writeback.h
…
rcar_dw_hdmi.c
…
rcar_lvds.c drm: rcar-du: lvds: Add support for R8A774E1 SoC 2020-09-22 14:10:04 +03:00
rcar_lvds.h
…
rcar_lvds_regs.h
…