Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2411452rdg; Mon, 16 Oct 2023 03:53:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmKZxTNUE/RsjLIH7q8NkUNE0GVO0tG/lCKyv6hCKwUsvlZK9EH/ZtW4ovxw1AuO6SKELN X-Received: by 2002:a05:6a20:e118:b0:177:690a:7978 with SMTP id kr24-20020a056a20e11800b00177690a7978mr9316214pzb.33.1697453583722; Mon, 16 Oct 2023 03:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697453583; cv=none; d=google.com; s=arc-20160816; b=rqV3bTb7Q8hafz9SVEHlDZR6ESCV7zuswZ0NqufWPbhC7dIuzAVwax76X13W6mPady oASbKbwXlSbbcNVyO8d2dAy5sNm7/ltdPGHR9YIx18rwMxG8RdFYQhI2nYOSq6xhIY9y 92gN2N+rwVjkG9O0eAkQRiqn9uXjiOEAALKurXbEZ/RRe6kM1fvEKKjULaS3J27RCKZ7 v9RkaNSXGWmE4HTAL6HRiLet7/KA6K80mOy36lFWyOZLNDBOwyTz0G//LRPQX3GaLqkA Iw1KF4m7qU1FegzFmbhTeRe3QbzBD5IdedofVgx3FsWew/cWwcIVVOvOZgNnkmISWF3i hCrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=EhiJa9EH24JyhTMQDgYLXmR2kDM/RJaPhmujtJdfRWM=; fh=Kah5KOKXmPqBkMgLDKIx9vsAiyH70QIg/VgUOZEGl64=; b=r95/MS0yxE6T4TAzqOsZ1vPm2rCLRMSHvAJbGPDkZCo+oBh+ZoHnT3IKqOYFQveWxs 8Wi+3ezIAObKm/CgAh6igIhO+OFmF7daTZvritKaGk6MUkuNYHNzI46w+ug0u4s09j0M IOmyGJ5uWFheE1xTMnKte4mYmCACl1r4D0UxDyq6NdCQiG1Ej/2GHgN9Ax6OjJ30bOaU MB/gG0YuCFi3jB+uoC8202KS+g3EznwaVabGDDQqMDETA2RIqjtQR3ogMSD/xm+YHsos wVOMdfkC/g1imEj1S2CsGkmBCDbkASWU/D1hSRPK5qokp7Q2RO08vmGJzXQS8DODaGdu uFRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=kHEUSKMn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id p4-20020a170902e74400b001ca529e3d29si3587216plf.168.2023.10.16.03.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 03:53:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=kHEUSKMn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B9E6A80ADC4D; Mon, 16 Oct 2023 03:53:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230116AbjJPKwz (ORCPT + 99 others); Mon, 16 Oct 2023 06:52:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229668AbjJPKwx (ORCPT ); Mon, 16 Oct 2023 06:52:53 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AAE495 for ; Mon, 16 Oct 2023 03:52:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EhiJa9EH24JyhTMQDgYLXmR2kDM/RJaPhmujtJdfRWM=; b=kHEUSKMnLFS7Zi/BPAGf45+91e w9Xa6Zk1dl3NckTqMNoMtflp+51PMfUj9WFG3UlUZph7XwLcU70mFcCKm7ouvPcFKaFyUXXqH9A/5 zU3mEKjYBb5wzkrBOIKFqjpQXwZSlZToC0PJqLRmdV/g2pBV0Xo6u8sDq4Itb2i4reGNF0ce/AK6C /hvFi57OKTCUIkWZ28pquvLGChkE71p1RRbu36ms1uRaB2JQFCj6ySyKS8QLYSby0I+MYQmvsnkFd xj9Bz7NwIAioKhyt03GAgqENty2EsZ8uqjZtE4Gsl0mS/d+Iq8FqT7NsE6x5rw+h638We9KdVivGo Wm/eD2nw==; Received: from [192.168.12.174] by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1qsLD7-0011nd-Cj; Mon, 16 Oct 2023 12:52:33 +0200 Message-ID: Date: Mon, 16 Oct 2023 12:52:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 6/6] drm/doc: Define KMS atomic state set Content-Language: en-US To: =?UTF-8?Q?Michel_D=C3=A4nzer?= , xaver.hugl@gmail.com Cc: pierre-eric.pelloux-prayer@amd.com, Pekka Paalanen , Daniel Vetter , =?UTF-8?B?J01hcmVrIE9sxaHDoWsn?= , Randy Dunlap , Pekka Paalanen , Daniel Stone , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, hwentlan@amd.com, Rob Clark , ville.syrjala@linux.intel.com, kernel-dev@igalia.com, alexander.deucher@amd.com, Dave Airlie , christian.koenig@amd.com, joshua@froggi.es, wayland-devel@lists.freedesktop.org References: <20230815185710.159779-1-andrealmeid@igalia.com> <20230815185710.159779-7-andrealmeid@igalia.com> <1b23576d-1649-ff5c-6273-b54729ea46d8@mailbox.org> From: =?UTF-8?Q?Andr=C3=A9_Almeida?= In-Reply-To: <1b23576d-1649-ff5c-6273-b54729ea46d8@mailbox.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 16 Oct 2023 03:53:01 -0700 (PDT) Hi Michel, On 8/17/23 12:37, Michel Dänzer wrote: > On 8/15/23 20:57, André Almeida wrote: >> From: Pekka Paalanen >> >> Specify how the atomic state is maintained between userspace and >> kernel, plus the special case for async flips. >> >> Signed-off-by: Pekka Paalanen >> Signed-off-by: André Almeida > [...] > >> +An atomic commit with the flag DRM_MODE_PAGE_FLIP_ASYNC is allowed to >> +effectively change only the FB_ID property on any planes. No-operation changes >> +are ignored as always. [...] > During the hackfest in Brno, it was mentioned that a commit which re-sets the same FB_ID could actually have an effect with VRR: It could trigger scanout of the next frame before vertical blank has reached its maximum duration. Some kind of mechanism is required for this in order to allow user space to perform low frame rate compensation. > Xaver tested this hypothesis in a flipping the same fb in a VRR monitor and it worked as expected, so this shouldn't be a concern. Thanks,     André