[PATCH v3 27/37] drm/meson: Convert to atomic_create_state
Martin Blumenstingl
martin.blumenstingl at googlemail.com
Sat Oct 31 14:20:42 PDT 2026
On Fri, Oct 30, 2026 at 4:15 PM Maxime Ripard <mripard at kernel.org> wrote:
>
> The meson HDMI encoder calls drm_atomic_helper_connector_reset()
> during connector creation to allocate an initial connector state
> needed by drm_connector_attach_max_bpc_property(). However, the
> driver only needs to allocate a pristine state, which is exactly
> what atomic_create_state provides.
>
> Convert to drm_atomic_helper_connector_create_state() with proper
> error handling.
>
> Signed-off-by: Maxime Ripard <mripard at kernel.org>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
More information about the linux-amlogic
mailing list