[PATCH] drm/rockchip: Don't change hdmi reference clock rate

2024-12-17 Thread Derek Foreman
, as the theoretical timing error in DDC appears to still be within tolerances and harmless - and HDCP and CEC are not yet supported. Signed-off-by: Derek Foreman --- drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw

Re: [PATCH] drm/connector: Allow clearing HDMI infoframes

2024-12-16 Thread Derek Foreman
Just a ping - is there anything further I need to do here? On 2024-12-03 03:45, AngeloGioacchino Del Regno wrote: Il 02/12/24 19:19, Derek Foreman ha scritto: Our infoframe setting code currently lacks the ability to clear infoframes. For some of the infoframes, we only need to replace them

Re: [PATCH] drm/connector: Allow clearing hdr infoframe

2024-12-02 Thread Derek Foreman
On 2024-11-29 17:40, Dmitry Baryshkov wrote: On Fri, Nov 29, 2024 at 03:38:01PM -0600, Derek Foreman wrote: When a display isn't presenting HDR content, the infoframe shouldn't be present at all. Currently if we set the HDR_OUTPUT_METADATA blob, we'll set a Dynamic Range and

[PATCH] drm/connector: Allow clearing HDMI infoframes

2024-12-02 Thread Derek Foreman
t, be generated. This fixes switching to an SDR mode from an HDR one. Fixes: f378b77227bc4 ("drm/connector: hdmi: Add Infoframes generation") Signed-off-by: Derek Foreman --- drivers/gpu/drm/display/drm_hdmi_state_helper.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/

[PATCH] drm/connector: Allow clearing hdr infoframe

2024-11-29 Thread Derek Foreman
we expect it to clear. Disable the infoframe when no output metadata is present to prevent this from happening. Fixes: f378b77227bc4 ("drm/connector: hdmi: Add Infoframes generation") Signed-off-by: Derek Foreman --- drivers/gpu/drm/display/drm_hdmi_state_helper.c | 2 ++ 1 file chang

Re: [PATCH v4] drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes

2024-09-16 Thread Derek Foreman
Gentle ping - is there anything more I need to do before this can land? Thanks, Derek On 2024-08-28 03:31, Jani Nikula wrote: On Tue, 27 Aug 2024, Derek Foreman wrote: The largest infoframe we create is the DRM (Dynamic Range Mastering) infoframe which is 26 bytes + a 4 byte header, for a

[PATCH v4] drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes

2024-08-27 Thread Derek Foreman
on to be the largest infoframe payload. Fixes: f378b77227bc ("drm/connector: hdmi: Add Infoframes generation") Fixes: c602e4959a0c ("drm/connector: hdmi: Create Infoframe DebugFS entries") Signed-off-by: Derek Foreman --- drivers/gpu/drm/display/drm_hdmi_state_helper.c

Re: [PATCH v3] drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes

2024-08-27 Thread Derek Foreman
On 2024-08-27 05:19, Jani Nikula wrote: On Tue, 27 Aug 2024, Maxime Ripard wrote: Hi, On Mon, Aug 26, 2024 at 07:10:11AM GMT, Derek Foreman wrote: The largest infoframe we create is the DRM (Dynamic Range Mastering) infoframe which is 26 bytes + a 4 byte header, for a total of 30 bytes

[PATCH v3] drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes

2024-08-26 Thread Derek Foreman
ENOSPC return from hdmi_infoframe_pack(), and never calling the connector's write_infoframe() vfunc. Instead of having HDMI_MAX_INFOFRAME_SIZE defined in two places, replace HDMI_MAX_INFOFRAME_SIZE with HDMI_INFOFRAME_SIZE(MAX) and make MAX the same size as the DRM infoframe. Signed-off-by:

[PATCH v2] drm/connector: hdmi: Increase HDMI_MAX_INFOFRAME_SIZE to 30

2024-08-23 Thread Derek Foreman
ENOSPC return from hdmi_infoframe_pack(), and never calling the connector's write_infoframe() vfunc. Increase HDMI_MAX_INFOFRAME_SIZE to 30 so we can successfully write DRM infoframes. The drm_debugfs code is similarly updated. Signed-off-by: Derek Foreman --- drivers/gpu/drm/di

[PATCH] drm/connector: hdmi: Increase HDMI_MAX_INFOFRAME_SIZE to 30

2024-08-23 Thread Derek Foreman
The DRM infoframe is 26 bytes, with a 4 byte header this gives us 30. The current limit of 29 prevents us from writing DRM infoframes. Signed-off-by: Derek Foreman --- drivers/gpu/drm/display/drm_hdmi_state_helper.c | 2 +- drivers/gpu/drm/drm_debugfs.c | 2 +- 2 files changed