[PATCH] drm/connector: Allow clearing HDMI infoframes

Maxime Ripard mripard at kernel.org
Tue Dec 17 15:22:38 UTC 2024


On Mon, 02 Dec 2024 12:19:39 -0600, Derek Foreman wrote:
> Our infoframe setting code currently lacks the ability to clear
> infoframes. For some of the infoframes, we only need to replace them,
> so if an error occurred when generating a new infoframe we would leave
> a stale frame instead of clearing the frame.
> 
> However, the Dynamic Range and Mastering (DRM) infoframe should only
> be present when displaying HDR content (ie: the HDR_OUTPUT_METADATA blob
> is set). If we can't clear infoframes, the stale DRM infoframe will
> remain and we can never set the display back to SDR mode.
> 
> [...]

Applied to misc/kernel.git (drm-misc-next).

Thanks!
Maxime



More information about the dri-devel mailing list