Re: [PATCH 07/29] drm/atomic: Implement drm_atomic_print_old_state

From: Maxime Ripard
Date: Tue Sep 09 2025 - 08:44:49 EST


Hi Thomas,

On Tue, Sep 02, 2025 at 03:26:49PM +0200, Thomas Zimmermann wrote:
> Am 02.09.25 um 10:32 schrieb Maxime Ripard:
> > We currently have a helper to print the new states associated to a
> > drm_atomic_state, but we don't have a variant to print the old state.
> >
> > It's somewhat expected, since we almost never care about what the new
> > state looks like when we commit a new state, but we're about to change
> > that.
> >
> > Signed-off-by: Maxime Ripard <mripard@xxxxxxxxxx>
>
> Reviewed-by: Thomas Zimmermann <tzimmermann@xxxxxxx>

Thanks!

> I assume something later in the series uses this code?

Yeah, the readout code calls it to print the state that was built from
the hardware state.

Maxime

Attachment: signature.asc
Description: PGP signature