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 X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0FEEC4361B for ; Thu, 10 Dec 2020 15:45:30 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 6935B22A83 for ; Thu, 10 Dec 2020 15:45:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6935B22A83 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=emersion.fr Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CDF876EABB; Thu, 10 Dec 2020 15:45:29 +0000 (UTC) Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.134]) by gabe.freedesktop.org (Postfix) with ESMTPS id 08A616EABB for ; Thu, 10 Dec 2020 15:45:28 +0000 (UTC) Date: Thu, 10 Dec 2020 15:45:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail2; t=1607615126; bh=V4wiblAC/RLDIgZUbJZgTYIWzS4QfV/UUVHYK9XV8fQ=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=Ah4iYPzvgL2E7PkVNcL2YVsjcd+dfCi4K4+WwvoHFJD0HWcI5lFpSTC89ByxBCE+F d3VS1mh5b8pDvQUeFsIPAmzyOnYeOpko5svFzlcsgGnRcjdsKz+09q+6oV4UR73jYc TZs8JXC+l0ZvDUdxPkRp9pZErNcpAgRLJVbbRErAuG2rHYTzw2Mu5R2FMLe8fxVul3 pVK4vKfv7+wdpx1jhIpNPA7oL6pwFYUf1v8yAUxG56rhmrd63y3C8F/no2T0YZb8/0 gr2mRznaWUnOZ9r8+v4Tci0wSqxiLl9Lu4mlVkLta5x+f0ok83p9qar3KCSmWCBTvW nAvvD+eTvIVQQ== To: Daniel Vetter From: Simon Ser Subject: Re: [PATCH] drm: rework description of primary and cursor planes Message-ID: In-Reply-To: <20201209194030.GV401619@phenom.ffwll.local> References: <20201209004223.GL401619@phenom.ffwll.local> <0zedd9O9Bp0DfEH26xBTGvZtqA5bdE2EJDN3z5TXiDIyiwfTnRapgDy69MjAlhMWrzqKTzoYwovpGANNhp1PmneSCrm-xzw9DIeauv1SkgM=@emersion.fr> <20201209160223.GT401619@phenom.ffwll.local> <20201209194030.GV401619@phenom.ffwll.local> MIME-Version: 1.0 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: , Reply-To: Simon Ser Cc: dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wednesday, December 9th, 2020 at 8:40 PM, Daniel Vetter wrote: > > But it's not enough, can't have two CRTCs with the same primary plane. Well, > > I give up, it's just simpler to use Daniel's criteria. > > Yeah, also with the validation check we'll now real quick if any driver > gets it wrong. Then I think we can have a useful discussion about why, and > what to do with that case. As-is we're kinda drafting specs in the void, > which is always a bit tough ... > > That's kinda another reason for doing the stricter check I proposed, it's > easier to check and guarantee (on both the driver and compositor side > hopefully). Hmm, actually, I'm already hitting a driver which doesn't guarantee that. amdgpu with my hardware [1] has the first primary plane linked to the the last CRTC, the second primary plane linked to the second-to-last CRTC, and so on. [1]: https://drmdb.emersion.fr/devices/129e158a4d9f _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel