Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0B859EB64DD for ; Thu, 17 Aug 2023 10:37:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A81A210E436; Thu, 17 Aug 2023 10:37:58 +0000 (UTC) Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050:0:465::102]) by gabe.freedesktop.org (Postfix) with ESMTPS id 238F510E436; Thu, 17 Aug 2023 10:37:57 +0000 (UTC) Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4RRM0J5vynz9sTy; Thu, 17 Aug 2023 12:37:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1692268672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lWR+OTy0bw/7gHQyaHmIFXg9eXwe63Tk14rDVr8H2HA=; b=O/p3hcyzbaQGOKsoyt2Eg4Za8zUYXNQnGbaphodEBOKp7SxF7dfYGeQ4cfKHwI0ZTACYn6 iLoR3jmcefj0Ggm/WY6dHUJHxPK9V+WpZFCnJeCf2+l+LgEmBUrDg+H1FfudChN+UhMdgM J6fNmMruz2N/hu5/6rweqQJDsUP5Elzl2sZLFP9EmwD2oosL0p9KfIXjScjgnUFGkwd9Hu 0g3Xo0SMUW5OBIN9pp48UOYOl+irz6E9K4knC5AgFhs+7Qt9Jkt9cyS1C6MwVYI/CG6I7y DU/1ONnkFZrRDrEtRPfK8u1gXAqhhbvUp4D2LiJ2ijo7Bp8uyySiRqU2RzY6+w== Message-ID: <1b23576d-1649-ff5c-6273-b54729ea46d8@mailbox.org> Date: Thu, 17 Aug 2023 12:37:49 +0200 MIME-Version: 1.0 Subject: Re: [PATCH v6 6/6] drm/doc: Define KMS atomic state set Content-Language: de-CH-frami, en-CA To: =?UTF-8?Q?Andr=c3=a9_Almeida?= , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, wayland-devel@lists.freedesktop.org References: <20230815185710.159779-1-andrealmeid@igalia.com> <20230815185710.159779-7-andrealmeid@igalia.com> From: =?UTF-8?Q?Michel_D=c3=a4nzer?= In-Reply-To: <20230815185710.159779-7-andrealmeid@igalia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: f9a431e141f714a5fd0 X-MBO-RS-META: pbseorajysen1cko9xh3sm3of47nd13r X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pierre-eric.pelloux-prayer@amd.com, Pekka Paalanen , kernel-dev@igalia.com, =?UTF-8?B?J01hcmVrIE9sxaHDoWsn?= , Randy Dunlap , Pekka Paalanen , joshua@froggi.es, alexander.deucher@amd.com, hwentlan@amd.com, christian.koenig@amd.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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. -- Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and Xwayland developer