Re: [PATCH v2 02/20] drm/connector: Drop early state allocation for max bpc registration

From: Martin Blumenstingl

Date: Sat Oct 10 2026 - 18:44:52 EST


On Fri, Oct 9, 2026 at 5:17 AM Xilin Wu <sophon@xxxxxxxxx> wrote:
>
> The max bpc property can now be attached before connector state exists,
> and the atomic state helper restores its default when creating state.
> Remove the early state allocation that was only needed to satisfy the
> old property attachment requirement in the HDMI connector helper, Meson
> and DW HDMI.
>
> Update the HDMI connector tests to check bit-depth defaults after the
> normal mode configuration reset, and check that property registration
> itself no longer allocates state.
>
> Assisted-by: LLM
> Signed-off-by: Xilin Wu <sophon@xxxxxxxxx>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>