From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5ED03F9F37 for ; Mon, 20 Jul 2026 11:40:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784547611; cv=none; b=WCFGFfa3tCu15wAdTislF/kyQRb6bjkDyb2qtoZBjqcQCGk7a9n6qzme6HvBgJmsCiVjHWcku9fbs1Iy3zh7UCw6aFxBdbDfhQg9jKhVV6xx+dKpKX2O/3UYlDVjLpLUecNp8Sq2Xi1ZeWBENC8wZIkgk/sEyzxFkEKExnsznjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784547611; c=relaxed/simple; bh=LtBT5yJV3wwh1rF0TKf2ttwH1I4o12RgcLWPVDwDvvw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RzmQCW9UpYpgV4WdL9iXdrd5D2qO7AjtzYs+6+YJ6Vgk4yUuaPc1yCJAZptdQz+V11GqzgSqcgi4LNVT6n7WXdzKrFhHKBd0rWBv43pXkk2cy2R1pC4FZl0wXP6vq4liijK9WwPi97E6LhoXr5H+XqFFRuT7La6h/JhS3fbKAKI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IDjjU3B+; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IDjjU3B+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 316871F00A3D; Mon, 20 Jul 2026 11:40:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784547606; bh=LtBT5yJV3wwh1rF0TKf2ttwH1I4o12RgcLWPVDwDvvw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=IDjjU3B+q9sFpPhOXHQoFC6n73P5Kspi7v0qnx+I6WUUCsDl/3V1Dj3BxDJYq4YFb U2eou6HFEBbOSsv0Rax4fLqtrIBBoihETb6s1haSViYlNwno+XdNwhurPrqkkJW8uL 6DbNUxUrHJFfMG7bMmgav4AOsMmOFSKfP0urn6xMgGlBB6IpYTw7AYB+Xi3KTavdvw wPi5xBRVjZbiA53LL3sCRijSIxKUxJ58M73K0HRBihkRshl0WGnGOtgSvLJplpWwPD I8ZAjuOK0cN0OggmxuttrBMtZctzWioKqt2NEdJPVh7QyP46srfm8fHz8LA1Ez00mQ 2MrvRLB3yfo2w== Date: Mon, 20 Jul 2026 13:40:04 +0200 From: Maxime Ripard To: Xaver Hugl Cc: Maarten Lankhorst , Thomas Zimmermann , David Airlie , Simona Vetter , Daniel Stone , Harry Wentland , Jonas =?utf-8?B?w4VkYWhs?= , Michel =?utf-8?Q?D=C3=A4nzer?= , Pekka Paalanen , Sebastian Wick , Simon Ser , Victoria Brekenfeld , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 0/8] drm: Add DRM_MODE_ATOMIC_RESET flag Message-ID: <20260720-vigilant-serious-parakeet-ced4aa@houat> References: <20260708-drm-reset-state-flag-v1-0-c37dc985485d@kernel.org> <20260716-expert-crouching-bonobo-ffd0b6@houat> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha384; protocol="application/pgp-signature"; boundary="b7mzsale6gt6wtzj" Content-Disposition: inline In-Reply-To: --b7mzsale6gt6wtzj Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH RFC 0/8] drm: Add DRM_MODE_ATOMIC_RESET flag MIME-Version: 1.0 On Fri, Jul 17, 2026 at 03:03:10PM +0200, Xaver Hugl wrote: > Am Do., 16. Juli 2026 um 10:26 Uhr schrieb Maxime Ripard : > > > 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? >=20 > I'm saying that it's no different from a "normal" commit, and should > just follow the normal rules for whether or not a commit needs > allow_modeset. You can't make assumptions about which properties the > compositor will or will not set. Ah, I see what you mean now, thanks. It makes total sense indeed, I'll drop that part from the cover letter. Maxime --b7mzsale6gt6wtzj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJUEABMJAB0WIQTkHFbLp4ejekA/qfgnX84Zoj2+dgUCal4JEwAKCRAnX84Zoj2+ dh8LAXkBQvnLYARY9Kn5qebtqIsGFu3oXWmTW9jOFjyeOeL3z8yPi+q9o+pK8Cdx f6AX9FEBf14ROH7brPKEeyivdKJBO9ZeP4xvcgQX8HlYc3YSwwOK8dQcI2INcjhP Lqx+yvIAzQ== =6K7v -----END PGP SIGNATURE----- --b7mzsale6gt6wtzj--