Re: [RFC PATCH 1/4] drm/bridge: Add atomic_sro_install_state hook
From: Maxime Ripard
Date: Mon Nov 16 2026 - 11:58:28 EST
On Mon, Nov 16, 2026 at 03:27:04PM +0100, Màxim Pedraza Padilla wrote:
> The state readout core lets private objects take the resources needed to
> keep the hardware running when the state read out becomes current, but
> bridges have no way to use it. A panel left on by the firmware, for one,
> would stay marked as disabled.
>
> Add a bridge hook and call it from the bridge private object.
>
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Màxim Pedraza Padilla <maximpedraza@xxxxxxxxx>
It's something that was pointed out by sashiko here:
https://lore.kernel.org/all/sashiko-outbox-201494@xxxxxxxxxx/
I've fixed it locally and I'm also passing the connector and CRTC state
to have the same prototype than readout_state and remove some boiler
plate.
It should be equivalent though.
Maxime
Attachment:
signature.asc
Description: PGP signature