Re: [RFC PATCH 2/4] drm/panel: Implement state readout in the panel bridge
From: Maxime Ripard
Date: Mon Nov 16 2026 - 11:59:23 EST
On Mon, Nov 16, 2026 at 03:27:05PM +0100, Màxim Pedraza Padilla wrote:
> The state readout core gives up if a private object doesn't implement
> readout, so a driver using a panel bridge can't adopt the firmware state,
> even if it implements readout itself.
>
> A panel has no state to read back: it's part of the pipeline if the CRTC
> feeding its encoder is active. Implement the connector and bridge readout
> on that assumption, relying on the encoder's
> atomic_sro_get_current_crtc hook, and fill the bus configuration with what
> the commit negotiation would give.
>
> When the state is installed, prepare and enable the panel, since nothing
> else would until the first modeset.
>
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Màxim Pedraza Padilla <maximpedraza@xxxxxxxxx>
That one looks super similar to
https://lore.kernel.org/all/20261106-drm-state-readout-v8-38-cbe78624e1bc@xxxxxxxxxx/
Maxime
Attachment:
signature.asc
Description: PGP signature