[PATCH v4] drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes
Maxime Ripard
mripard at kernel.org
Tue Sep 24 14:13:08 UTC 2024
On Tue, 27 Aug 2024 11:39:04 -0500, 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.
>
> With HDMI_MAX_INFOFRAME_SIZE set to 29 bytes, as it is now, we
> allocate too little space to pack a DRM infoframe in
> write_device_infoframe(), leading to an ENOSPC return from
> hdmi_infoframe_pack(), and never calling the connector's
> write_infoframe() vfunc.
>
> [...]
Applied to misc/kernel.git (drm-misc-fixes).
Thanks!
Maxime
More information about the dri-devel
mailing list