[PATCH 0/2] drm/rockchip: dw_hdmi_qp: Add support for HDMI overscan compensation
From: Alexey Charkov
Date: Tue Jun 02 2026 - 13:11:45 EST
When using a TV as a display, output image may be cropped due to overscan.
Rockchip VOP2 supports post-composition scaling in hardware, which can be
used to compensate for the overscan.
This adds the necessary pixel margin fields to the CRTC state, and sets
them from the TV overscan property of the connector which is understood
by the userspace (tested with KWin's display configuration module).
Signed-off-by: Alexey Charkov <alchark@xxxxxxxxxxx>
---
Alexey Charkov (2):
drm/rockchip: vop2: honor TV margins from CRTC state for overscan compensation
drm/rockchip: dw_hdmi_qp: expose "overscan" property
drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c | 16 ++++++++++++++++
drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 2 ++
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 17 +++++++++++------
3 files changed, 29 insertions(+), 6 deletions(-)
---
base-commit: 08484c504b55a98bd100527fbe10a3caf55ff3ff
change-id: 20260602-hdmi-overscan-4f0d89bfd981
Best regards,
--
Alexey Charkov <alchark@xxxxxxxxxxx>