[PATCH v4] drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Tue Sep 24 14:21:38 UTC 2024
On Tue, Sep 24, 2024 at 04:13:08PM GMT, Maxime Ripard wrote:
> 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).
With an empty line between Fixes and the rest of the tags :-(
>
> Thanks!
> Maxime
>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list