Re: [PATCH RFC 0/8] drm: Add DRM_MODE_ATOMIC_RESET flag
From: Maxime Ripard
Date: Thu Jul 16 2026 - 04:20:09 EST
Hi Xaver,
On Wed, Jul 08, 2026 at 08:25:36PM +0200, Xaver Hugl wrote:
> Hi,
>
> Thanks for working on this, it'll be great to finally have this solved properly.
>
> > Open question: should DRM_MODE_ATOMIC_RESET require
> > DRM_MODE_ATOMIC_ALLOW_MODESET? A full state reset will change CRTC
> > active states, which is effectively a modeset. Without requiring it,
> > a reset could pass flag validation but fail later at atomic_check in
> > a confusing way.
>
> The compositor may use the same CRTC states, modes etc; whether or not
> the commit actually ends up requiring a modeset depends entirely on
> the exact contents of the commit. So I definitely wouldn't require
> ALLOW_MODESET.
Just to make sure we're on the same page, you're saying that when using
the reset flag, the compositor is expected to fill the state with enough
that a modeset is unlikely to happen anyway?
Maxime
Attachment:
signature.asc
Description: PGP signature