Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3682744pxf; Mon, 29 Mar 2021 08:38:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsFSP0bhZORKlH37RsZ3ySyL/dYLgqobnUhE6y68fXSQUMLS7NArY/03dCQIVPn8Fm9cTd X-Received: by 2002:a17:906:32d1:: with SMTP id k17mr29079926ejk.94.1617032300360; Mon, 29 Mar 2021 08:38:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617032300; cv=none; d=google.com; s=arc-20160816; b=0Zl6Fus0YOa9bh08tq01QkV0HmiWFxOMT050zFzhG8iJWX4472HYoTB7A1ls1CExNW JqqWWIZfPtTpkMaOuaqxI4285Zdl36NHvvZ6g87CwNzbKau1JIsbEZI5oTdMA+yFpZMq O70JPFJLqL//92+kACziW6PruRjplOdDZrJNIVL1M3i/A6uKA5cM76hal3AKS6qtGefA OWioJEHDgzUnKh7yBVJH4vSbgyKQxcrKipwPpUCQ0oI3yh33+rq5KQF2NCVqHHafxjUK PrdvrX0EmU72OsklepmmuzAs4AMjV54zmKVAgF+nAjlTNF8Vp50oGRPIC/ZFzrYQ5/ka fXCQ== 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 :references:in-reply-to:message-id:subject:reply-to:cc:from:to :dkim-signature:date; bh=rqe9EJEDo6OVkZ/VB+6sIQKNjLvmWP/qQQn0EH+cucE=; b=QhXGPIWyxe0OG4nLKXRqIhm43IIw9nUPKvAmwxuv1w4GlBFAfA/yDuJuZDtmWkA6Vv v4EcEFDfR6j6HaJ4joGODDYjCEKKiFIYb2reIclUe0swSHla9fA4xWGtfP6VOE0wlwJI SOAQwjFgsK5uibRq8ETtlWVfPu402engdAAecoEr/Tek9NXeTXVPL8vjrKQeaya760+N NPYSsRne7b889BL2ZjxnAjgkA5rrf5OYtMBsSfk2YWWd3oLCs9UTWVVyGX0wq+eGcjJs qYA4FpXsiBw++oUZ4UNj1mIQJ2lIfdE8two8lmkbTta2GeiI3M4/y5QoyG2Yw1NdMo/n PWPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail3 header.b=HpGWtcbS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e26si14318624edr.396.2021.03.29.08.37.57; Mon, 29 Mar 2021 08:38:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail3 header.b=HpGWtcbS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231354AbhC2Pgw (ORCPT + 99 others); Mon, 29 Mar 2021 11:36:52 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:36778 "EHLO mail2.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbhC2Pgq (ORCPT ); Mon, 29 Mar 2021 11:36:46 -0400 Date: Mon, 29 Mar 2021 15:36:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail3; t=1617032204; bh=rqe9EJEDo6OVkZ/VB+6sIQKNjLvmWP/qQQn0EH+cucE=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=HpGWtcbSc1BRR8C//YNHRfRX94i3nWsb+pdd14v2BmpPVcvRhqxYDP65AyfHLnKBx XK25WeJ9dMffhERinc9teknCpK13ACInH5U3ioLVaZYq/382YcQL+NgpbJ7CuiZS9D l9GStvSS6LFR40V0tBF9/4vQST+o2u0wEAbj0bEbP197GtioRyahLzh5sn1mwWFSto WZ2Zw3bg5NhoBydcrl7qRc/Pr+PP2nniZGuVzjF/rDIplNm/gkalM7ynbXNfkWIRtU g0vavMPE3d9XV44tE1OrBuEeqFNrG2nKO1b4hPD8kyui51GNCIqEIrZLxmVQk2tRXE Ma+1ySXRmzdIQ== To: Paul Cercueil From: Simon Ser Cc: Maxime Ripard , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , od@zcrc.me, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Reply-To: Simon Ser Subject: Re: [PATCH] drm: DON'T require each CRTC to have a unique primary plane Message-ID: In-Reply-To: References: <20210327112214.10252-1-paul@crapouillou.net> <20210329140731.tvkfxic4fu47v3rz@gilmour> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, March 29th, 2021 at 5:32 PM, Paul Cercueil wrote: > Making the second plane an overlay would break the ABI, which is never > something I'm happy to do; but I'd prefer to do it now than later. Yeah, I wonder if some user-space depends on this behavior somehow? > I still have concerns about the user-space being "clever" enough to > know it can disable the primary plane. Can e.g. wlroots handle that? wlroots will always pick the first primary plane, and will never use overlays. The plan is to use libliftoff [1] to make use of overlay planes. libliftoff should already support the scenario you describe. I think Weston supports that too. [1]: https://github.com/emersion/libliftoff