Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4353919pxf; Tue, 30 Mar 2021 06:01:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtI6EHYSPlAw/Hs9rUQZjcSXsIXTkyiW88odvCx1MQG7iaCAZ4DLk2JfV5xb/SBs0x1Otp X-Received: by 2002:a17:906:22d4:: with SMTP id q20mr34286600eja.54.1617109305244; Tue, 30 Mar 2021 06:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617109305; cv=none; d=google.com; s=arc-20160816; b=whVaXFDHGYydpFTksm1MmX3fHIqpxfRTa+kMFArUcPLjZUUeObrAy33H0Avb5fx7pf LDqOWIhmsxhkjy9Kt153uvkP4AGliEtNCQYoWogqA/B8WSSbTOkTxaXdQH0AcKTuTklI Ff0sSP38jws0pnrrFR7XAFBQZVJtqndjnKzS/rmBQZkaUaTovhk6T/413zt/k1ynoPDj ovuQ1uOmOA9l3hwPSRT7Mn8c1hTRLj709apa/WJifRUNRUPThd4W0kb6cNd1Pp5Cc4cS z0z/NiwBsYrWHALxtMl4K8V4/1BTKEOiCLLdIB1yGbXtPwHqWx2KUD5KlonPcvwEkaZN HEug== 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=nQumvZO7k2adxWbuuWRUUjrAO0hDimI1WyGmzZ72k6Y=; b=pEo3r/RtnXESmuRV/FS60KryDYp6HRhAOlULvQerB3y1GLfDIcc5CF4OVDQEXzj9Tw KdfBp4WjrRWKqvGhhqjV4EnbKDbgm0ab5Px1WwWRMF2X510gGsNiJXMj9ySLafRuFve1 A78xivMyEdTHIFQSQhgktetgXUeeTuDn+XXGzT7zsKuDXM78/ZOO3xW+w1n4cbU/5H1X siRkZLCzqPp7pkGq5Z9DIEZsZHDNbnIOltqj6REGC6vBLpHzQyjqtOQNfZPwldhJ7wnW QpjI4qJfXUVl78BLY0J7tenigj0N0pYxKOTZt+NppYss+1ruX5D608sY/PuIvK4UA2U6 66hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail3 header.b=MXEFZuKv; 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 jz16si15000362ejb.586.2021.03.30.06.01.22; Tue, 30 Mar 2021 06:01:45 -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=MXEFZuKv; 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 S232019AbhC3NAY (ORCPT + 99 others); Tue, 30 Mar 2021 09:00:24 -0400 Received: from mail-40136.protonmail.ch ([185.70.40.136]:55911 "EHLO mail-40136.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232138AbhC3NAS (ORCPT ); Tue, 30 Mar 2021 09:00:18 -0400 Date: Tue, 30 Mar 2021 12:59:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail3; t=1617109216; bh=nQumvZO7k2adxWbuuWRUUjrAO0hDimI1WyGmzZ72k6Y=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=MXEFZuKv9U1YOGPmBHoOT1TB7fu7j1AXDA20G3PQzfLp1iei5Diip2TDX2yZDLwtg tXfYzD/Rsk0PXApszamq4O4HVVjHSeRbSbZb6v4/Z9A9/33mIflziROwyxbT0LPDcE YoLZvbgqDlS8jINRANGrVJnEOa46QKDPNZOJyEUk4H8Mwg2UmIWOZZJLJ7iN2LDsbt BWJOuH8q4lj0Pjj7f7j3BNcFX38hU12lEXdIjcY/Jd+Zv0XTR5QlAv4CiMYbpCSsc7 Dnfv7n4LFoe3xLAN/0JgBH2S7H95LAG42GL6pduD0lUEcmlEs8s5Lyrn7qYwYFEH+G R47kopOnny1nQ== To: Paul Cercueil From: Simon Ser Cc: David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Sam Ravnborg , od@zcrc.me, linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Reply-To: Simon Ser Subject: Re: [PATCH 1/2] drm/ingenic: Switch IPU plane to type OVERLAY Message-ID: In-Reply-To: References: <20210329175046.214629-1-paul@crapouillou.net> <20210329175046.214629-2-paul@crapouillou.net> 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 Tuesday, March 30th, 2021 at 1:53 PM, Paul Cercueil wrote: > > I don't know about this driver but=E2=80=A6 is this really the same as = the > > previous > > condition? The previous condition would match two planes, this one > > seems to > > match only a single plane. What am I missing? > > There are three planes, which we will call here f0, f1, and ipu. > Previously, the "plane->type =3D=3D DRM_PLANE_TYPE_PRIMARY" matched f1 an= d > ipu. Since ipu is now OVERLAY we have to change the condition or the > behaviour will be different, as otherwise it would only match the f1 > plane. Oh okay, I thought f0 was one of the primary planes, but it's not. Thanks for the explanation. For the user-space visible change: Acked-by: Simon Ser