From mboxrd@z Thu Jan 1 00:00:00 1970 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 D5363CDB483 for ; Tue, 17 Oct 2023 12:16:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 43CE410E2D7; Tue, 17 Oct 2023 12:16:37 +0000 (UTC) Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 10F1A10E2D7 for ; Tue, 17 Oct 2023 12:16:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail2; t=1697544993; x=1697804193; bh=KRuOAkjZGIG2r6IHWGXC+XJV7uOGD+ibR185OeoHuMA=; 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=k3UmlNWn5P5Td8hjdwUp95U4IftjG9+b1n6Oiiu5y1ewdu6gkeC0vRe/3qPTlOkg0 0GaftVq2ZVI3j+GXD7LQwqpRlboVcaLHdDverCZGYOUqwq81NVSW6Fi0oUApbh28nF i5qy8AslUqpgNwNTo0WfogygI8zFBkf8Xeqp/ZYTwYuOvW4fCLpr71l23eQFKEpX4I 9SAoY1bPfegihPTKLs18xreecaBmDyBScWu/VVdBRyIat+JJWp4FAEz7NHXVGhmxOO LCmMg/cORkdaacYCvjRmRzAHCC9v6xPELro2ssWget9xFDw3aPdMbKZ73PVtvRdG5x WNZdIFH+yxLjg== Date: Tue, 17 Oct 2023 12:16:20 +0000 To: =?utf-8?Q?Andr=C3=A9_Almeida?= From: Simon Ser Subject: Re: [PATCH v7 4/6] drm: Refuse to async flip with atomic prop changes Message-ID: <3r5-_03WC5dK3LaRt1Is78zD_bmT2aaGc5h9jpUGzo2o5GCtGP1zpQNzUxglsieewFklY7xwTrOS9jtI18YlNnnzHNx2Ccw9yM2NuJpDQZU=@emersion.fr> In-Reply-To: References: <20231017092837.32428-1-andrealmeid@igalia.com> <20231017092837.32428-5-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-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, =?utf-8?Q?=27Marek_Ol=C5=A1=C3=A1k=27?= , =?utf-8?Q?Michel_D=C3=A4nzer?= , Randy Dunlap , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Pekka Paalanen , dri-devel@lists.freedesktop.org, kernel-dev@igalia.com, alexander.deucher@amd.com, hwentlan@amd.com, christian.koenig@amd.com, joshua@froggi.es Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" After discussing with Andr=C3=A9 it seems like we missed a plane type check here. We need to make sure FB_ID changes are only allowed on primary planes.