Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3837287ybl; Mon, 26 Aug 2019 01:04:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpzTplxGXofaA6lclX+ix4oV5nUFn/Zzws+/R+7ioQ+z5Cx4ekHxc+8us/90uO4Bofk91l X-Received: by 2002:aa7:9092:: with SMTP id i18mr18544268pfa.101.1566806660019; Mon, 26 Aug 2019 01:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566806660; cv=none; d=google.com; s=arc-20160816; b=Svz00fgQ6tuvGvC1zU0Ic0MGiikLCjYVMvj24+DbyiiDuHwbiSwI96JbGfXiXFSbm6 yyjdol3EMmn8Bf+TYeOp70UXfhnDsKfRLrmEYSR5k4Wc7XxgebqfhhfnepL0T5E0xqNA PYVCuBCpVzUKPZKrRoIMEyRaLAoPEUv0IcZl1oT9V+EV3/4LCcUmKUoORrORbufUMtxL DVH5WPplKWC40QorjYaBWuomS5rq63Oi/WfAsKO+YuJv12zuWdAi8eXexPXxvkOyl91b s+o5wUJGBoqcoe6ys1oF6JPa+4zVEqfrKHpfPI6MtcOBq/npom+AeVrlRECCI/4QMSon fu2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=uFsSrBZMLd+/X0dMRScnd9meATkOq3RN29Vau8+m2UY=; b=o+J6mo82I3mIir0MXfugS4wDog/Mjxvn84bYM4Bh2WR/iHsAsQ9MDZh/erJC1tgB8c F6mX/MNsT3zz0aPUepyUjUdy22Ursp/6KEhjnewsDB6rZLO3tRtGWJGG+FAdfIOzwZe5 CPVI343c7aUX1Gv1QHsTl0lJ5u6t0R9q4nENg8Y7q433QUBtHUXSS2zAzQwsobpMJEpi 0ewZqLiRBaIfIBCON4/Wf99A0wTjF2Lpy0eiVneM+F4QcjSgzmgjCbfMbH/oU+vmhTwM 8IKpzKHtMiPDtbwodc45idX3hgq4qpx7UBjrKVvSlYIwoLaOOaaqq7x1/Q/7QmHdZdZ9 MAfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l184si8243686pgd.203.2019.08.26.01.04.04; Mon, 26 Aug 2019 01:04:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730339AbfHZIB3 (ORCPT + 99 others); Mon, 26 Aug 2019 04:01:29 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:38277 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726875AbfHZIB3 (ORCPT ); Mon, 26 Aug 2019 04:01:29 -0400 X-Originating-IP: 87.18.63.98 Received: from uno.localdomain (unknown [87.18.63.98]) (Authenticated sender: jacopo@jmondi.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id E4E4A1BF209; Mon, 26 Aug 2019 08:01:19 +0000 (UTC) Date: Mon, 26 Aug 2019 10:02:50 +0200 From: Jacopo Mondi To: Geert Uytterhoeven Cc: Jacopo Mondi , Laurent Pinchart , Kieran Bingham , Simon Horman , Ulrich Hecht , David Airlie , Daniel Vetter , Koji Matsuoka , muroya@ksk.co.jp, VenkataRajesh.Kalakodima@in.bosch.com, Harsha.ManjulaMallikarjun@in.bosch.com, Linux-Renesas , DRI Development , Linux Kernel Mailing List Subject: Re: [PATCH v3 08/14] drm: rcar-du: Add support for CMM Message-ID: <20190826080250.av3z2vunbd2z7hzu@uno.localdomain> References: <20190825135154.11488-1-jacopo+renesas@jmondi.org> <20190825135154.11488-9-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sbblrgvskuirlqsw" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --sbblrgvskuirlqsw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi Geert, On Mon, Aug 26, 2019 at 09:31:02AM +0200, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Sun, Aug 25, 2019 at 3:51 PM Jacopo Mondi wrote: > > Add a driver for the R-Car Display Unit Color Correction Module. > > In most of Gen3 SoCs, each DU output channel is provided with a CMM unit > > to perform image enhancement and color correction. > > > > Add support for CMM through a driver that supports configuration of > > the 1-dimensional LUT table. More advanced CMM feature will be > > implemented on top of this basic one. > > > > Signed-off-by: Jacopo Mondi > > Thanks for your patch! > > > --- /dev/null > > +++ b/drivers/gpu/drm/rcar-du/rcar_cmm.c > > > +static const struct of_device_id rcar_cmm_of_table[] = { > > + { .compatible = "renesas,cmm-r8a7795", }, > > + { .compatible = "renesas,cmm-r8a7796", }, > > + { .compatible = "renesas,cmm-r8a77965", }, > > + { .compatible = "renesas,cmm-r8a77990", }, > > + { .compatible = "renesas,cmm-r8a77995", }, > > + { .compatible = "renesas,rcar-gen3-cmm", }, > > As they're all handled the same, you can drop the SoC-specific values > from the driver's match table. > > > + { .compatible = "renesas,rcar-gen2-cmm", }, > > Just wondering: has this been tested on R-Car Gen2? > Not from me :( It might not be the smartest move to add a compatible for an un-tested chip generation. I dragged the gen2 compatible in along the series as it was there in the downstream driver and I assumed BSP has been tested there, but since I've not been able to run any test on Gen2 board I should probably drop it? Any volunteer with a Gen2 board that want to run a test? Thanks j > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds --sbblrgvskuirlqsw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEtcQ9SICaIIqPWDjAcjQGjxahVjwFAl1jkioACgkQcjQGjxah Vjz2zA/9GA5pNTNrK1sLbSQr1l5T/m5J1t7HdVRkrl24WFP5Mpjzm1g/Du5cRFPQ XtI6YoSrvzWADCbeDldUaIGCQ+1b+EQntwVU3dkkV50FrxiDuZ+4b2+Qco1lTT9W 5uuWRkc14jpDdIT5bFYB79V4yckKLy54rzRHVgB5uX+KzswQgs26SICnlgecA+9d 7Dy6Q0gMVfnxrNiCSVrrr637sXfdKaQUAHz+y+X4bJTgQsjcjKD+WU4pqmG4hLs/ CsY9+FErIXk9yB2EOX7hCP6k6KsX/BHHRGW4uHq/neunFZECfDyI48yC/9qCWtWk JjZdAO+ZzPXFB1kjKeyfaunqa1oKhdR2C2traKN5E1i8EkRzTU1HB5CJElFDU5Xf OLOKApejqaZKSza693g9cU2Gv0UVO1jJuie2kEnp+5MH9BY+sJFxE47qmmdGeIlZ hIZ7X1A67eZD0z9FocQVpfBOLpztswaL3dNzOPw0azxdH4MgcTBoQYSFB/GVJLqS Az3r2R1w/kIDaJhmWNFLuPSiFJNdL1Sqrd/SChrQYoYbXGqqFE3O7a1TS+5k1tE+ ecLmjUPerqRP29vehz8lgipCdirotVmR+kCfGotGMnC6mpcqfR1WyghGLcl/nItc H78K5Xu8knqi0kV4ieP0PnIw60OC92IsceQBl3arkkrMkr/ukew= =MgVV -----END PGP SIGNATURE----- --sbblrgvskuirlqsw--