Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3667185pxf; Mon, 29 Mar 2021 08:17:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhJyLGNVz9VHpt4bCLTvXMskvNCEyqyPbV1Tqg0VpW8OKWZrANuI1UJ3VNO8sSFvE6lBOL X-Received: by 2002:a05:6402:1342:: with SMTP id y2mr29102558edw.285.1617031041353; Mon, 29 Mar 2021 08:17:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617031041; cv=none; d=google.com; s=arc-20160816; b=OARI5CG2tfnQut+P00mMDIdDseufLn5kM2SS0x39M6ZvkBOfy4ny2CpSWdBD2H/s4s t7njWbugSRJltWnHzR1vcASF73C5cIHAAEMp4RxgziSNYS1nKBC3DOhWzTfO5XP5x47+ FXTB6Fgfe/9QKHPCF1KcXWhzETQ3VemZkg3exZOSvyAHAvjbymwdY6/DJQWFAwtotDAL Qu9WKxfXibYxW7lEz5tBy7IB0z5odTMuZ4TT7UviXvIMRpN2mtbf03ipx5bhw3dSI66P WJNq3GbSsBl6uxr2IGc5b4/939o6bIlh1+0vP+Bx3eI897DoMoiqwoWzGFcpKpVCYprb Co5A== 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:cc:to:subject:from:date; bh=Kzed76QdriQPjm7NVzP1n3aQl1xzvCbsuDxiUAmCzOw=; b=v3H3mKWmWvtmUn6P+eTX1aalndOvkY6lQnHmx8NpPCADjiwbjYbekVcSUuv2ehfuvL J8tb0457Ds5OVShwe4rDWYGA8fQSiOuDSZp8brVr6uVtqvSvJczm/yv3HhIO11Y+FApp KgNyg3fclirCWIq0FoPHZGMaYq5BWUvTke1r4VOg/jlQzN9ryhMOUSmIncVviSW4isn4 fBqnXySXUf5HvgXwSMFXLx9QhXE8dfKGLPydmgnlxvuqyvH1y6otijqkYNWtWy/cBibA gbx6LUHMtI469t4aqEclvPS6jktquJke34hkFJNyMOK+yQFQJvQkQN6ds6PZyT4zBtbo 2eHg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lz19si14279235ejb.246.2021.03.29.08.16.58; Mon, 29 Mar 2021 08:17:21 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230331AbhC2PQB convert rfc822-to-8bit (ORCPT + 99 others); Mon, 29 Mar 2021 11:16:01 -0400 Received: from aposti.net ([89.234.176.197]:54710 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230237AbhC2PPo (ORCPT ); Mon, 29 Mar 2021 11:15:44 -0400 Date: Mon, 29 Mar 2021 16:15:28 +0100 From: Paul Cercueil Subject: Re: [PATCH] drm: DON'T require each CRTC to have a unique primary plane To: Maxime Ripard Cc: Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Simon Ser , od@zcrc.me, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Message-Id: In-Reply-To: <20210329140731.tvkfxic4fu47v3rz@gilmour> References: <20210327112214.10252-1-paul@crapouillou.net> <20210329140731.tvkfxic4fu47v3rz@gilmour> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maxime, Le lun. 29 mars 2021 ? 16:07, Maxime Ripard a ?crit : > On Sat, Mar 27, 2021 at 11:22:14AM +0000, Paul Cercueil wrote: >> The ingenic-drm driver has two mutually exclusive primary planes >> already; so the fact that a CRTC must have one and only one primary >> plane is an invalid assumption. > > I mean, no? It's been documented for a while that a CRTC should only > have a single primary, so I'd say that the invalid assumption was that > it was possible to have multiple primary planes for a CRTC. Documented where? I did read the doc of "enum drm_plane_type" in , and the DRM_PLANE_TYPE_PRIMARY describes my two planes, so I went with that. -Paul > Since it looks like you have two mutually exclusive planes, just > expose > one and be done with it? > > Maxime