Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38384458rwd; Wed, 12 Jul 2023 07:04:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlGnF3xBDGC9WpmhTDX04pfNhrrh3+ovQ6jPT5XHLtfRN8iCduzmI8fx+bbVTv3ntFzNNm6m X-Received: by 2002:a05:6a00:23cb:b0:681:d5c4:4973 with SMTP id g11-20020a056a0023cb00b00681d5c44973mr18737872pfc.22.1689170649912; Wed, 12 Jul 2023 07:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689170649; cv=none; d=google.com; s=arc-20160816; b=iSi0WQ180YWF2iQY/UeHF3qZ9WGE/Jy+p0t9u9MvtusE1128EjzfirG8ciof62BLPs WJ635DZpyt5voC2/yWBQ+r3Q8PmN5Setci23laswzPIceVoA6KsFOp4zFeSzO7e1tg6N 2FSgDs5N2Hpjq3PgPAhmdm3RW+I5KbgTKVeV/4DwuiRptsE0f7om2qXgoxGgKRaMORYF dhnusDUgQppC53LEWBmfSWF89mqAQRpJzeaOg2lvqv7Tzc63DvwbLWIb8b2/kLBRg1pH 6DYh0K00TBVXVgjqDN289GSAF0OscnXQ8UYyxyv0pQ9VVOMAJbuLkRzaxUIDWaQ4gFl8 pvWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=IMV+oy2qN0Q8CoNfZ6wVwUYQLPGCoo5SMxI5O2mWNcg=; fh=IGyjyAsfHak01f7SgtzG5TSQs+MTaOrsbJQDCTBQld8=; b=ByZTF0WrphYoAyE4VzYD/tFuqFQAWfFGuPiKwl33PV5UQ0/6lTOHheRZXlPLAnyvJx uvBAa5SdVnPvc3UR2maMprlOlv/bvmjDUBmYLsN38l7ntJ4Iq3g6sExu1EaPs6+3tM8c N1wC6b2bKe2M6deQ2/oDGldamA98pLyWS7mVLIRej7Xp3j3IkVQs1Gf671LW9vFLXoJH 2hibFec1d0k3qaUrlQjVop+2de5xWiXnsFLErPQjbQ4IMnsKtQ0UB5YkwFhMbpvHGoWp ePvX6UDn2QIERmXLv7P36G3j0MkEoulLcWXsUUu8i6bWm0PJtwPQsFlso6XADHUIdzw3 +g4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail header.b=OlMprFkR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z13-20020a63d00d000000b005533647f7c5si3070774pgf.420.2023.07.12.07.03.57; Wed, 12 Jul 2023 07:04:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail header.b=OlMprFkR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232034AbjGLNaV (ORCPT + 99 others); Wed, 12 Jul 2023 09:30:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbjGLNaT (ORCPT ); Wed, 12 Jul 2023 09:30:19 -0400 Received: from mail-0301.mail-europe.com (mail-0301.mail-europe.com [188.165.51.139]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92080199D for ; Wed, 12 Jul 2023 06:30:15 -0700 (PDT) Date: Wed, 12 Jul 2023 13:29:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail; t=1689168610; x=1689427810; bh=IMV+oy2qN0Q8CoNfZ6wVwUYQLPGCoo5SMxI5O2mWNcg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=OlMprFkR9CGrijBxrGoyIxkXHojOYVmGOcz9BiOVoHtIvWWpMtszlTCALSEaotTi6 z51ashPlpLXFhPKFiHu48u7zimkth5an5gQzmLL+NttG2zwfhBQV5Nk1TpfGhjy3SB EgfGbP2ldC5ffdLB6pn1hA6f8Cu6PixAX7/A4CRQgpHDqLTRgFuXlgQNilHSo7Fjmk CbIy3XZb2lpTfAUpEB8jQIOeA40vpQRhZpV7xUEhfRuN8wCcIFimyhim9oagOKkV6N hJLyh1y/+8Bh7S4rux8kYyQQrWccZJpfAoMjbvFMHXNILBJK1EjTjcQ2AvYESQKXBw 1+Rw5Pv+WJFcA== To: =?utf-8?Q?Andr=C3=A9_Almeida?= From: Simon Ser Cc: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, wayland-devel@lists.freedesktop.org, kernel-dev@igalia.com, alexander.deucher@amd.com, christian.koenig@amd.com, pierre-eric.pelloux-prayer@amd.com, Rob Clark , Pekka Paalanen , Daniel Vetter , Daniel Stone , =?utf-8?Q?=27Marek_Ol=C5=A1=C3=A1k=27?= , Dave Airlie , =?utf-8?Q?Michel_D=C3=A4nzer?= , Randy Dunlap , hwentlan@amd.com, joshua@froggi.es, ville.syrjala@linux.intel.com, Pekka Paalanen Subject: Re: [PATCH v5 6/6] drm/doc: Define KMS atomic state set Message-ID: In-Reply-To: <20230707224059.305474-7-andrealmeid@igalia.com> References: <20230707224059.305474-1-andrealmeid@igalia.com> <20230707224059.305474-7-andrealmeid@igalia.com> Feedback-ID: 1358184:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday, July 8th, 2023 at 00:40, Andr=C3=A9 Almeida wrote: > +KMS atomic state > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +An atomic commit can change multiple KMS properties in an atomic fashion= , > +without ever applying intermediate or partial state changes. Either the= whole > +commit succeeds or fails, and it will never be applied partially. This i= s the > +fundamental improvement of the atomic API over the older non-atomic API = which is > +referred to as the "legacy API". Applying intermediate state could unex= pectedly > +fail, cause visible glitches, or delay reaching the final state. > + > +An atomic commit can be flagged with DRM_MODE_ATOMIC_TEST_ONLY, which me= ans the Can we linkify these #defines? This can be done like so: =E2=80=A6 flagged with :c:macro:`DRM_MODE_ATOMIC_TEST_ONLY`, which mean= s =E2=80=A6 This should create a link to the docs for this flag.