Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6503316ybc; Thu, 28 Nov 2019 00:12:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzU0AE/+cdcwjgbhHXWOcffFBTJgUR5IU4t0GkFVkwWWjuKqFzJ9sxGJSSuhj8CjXCIUh3h X-Received: by 2002:a17:906:6c95:: with SMTP id s21mr54769100ejr.205.1574928733601; Thu, 28 Nov 2019 00:12:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574928733; cv=none; d=google.com; s=arc-20160816; b=AttZ1jUvoZaeHNqYHzD0FQDalkCajX4vvulR8yIHA0JZzxvyDVbAyVky+svkBxaIbH H0PZZhcpGHDLDyAG8E6/LhbofYHEF7nlU1ligsfKGBkurws5KUVay9e2U3xbDqeNJpDb TbGTzp482Xx1w9Z9kYGTdnLs8DsscOVUkqIngW9N3++GPcW8zGveJSFsiPSKMX93xI+S 9u2dYTrnLRsc/usYJKGfaet3PYgeLidfbeIxstQSwUDj5WfE2SfskN8SwtgbnT/jB+Gj ztV8q/mOvlpGvb09qihj/iWnNAnyH6+kJ7OJSn6dxqTrLjjLhi1euaoty9hSQTJfb/Sq BHfg== 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:dkim-signature; bh=wRzDhqsctWWfU9m8kdRMw/xgchSL+sf7HQwbmo9JENk=; b=FtXel0yYE0e7NKCQhVndkZhDaVDAhiUI7fDzN8eNRx3Nf/uUUuJblNBz2Fd9KH/KK1 BNtMZL447Iu0GMiwv9PBqnl08orqBcTvsR4BqnAjFQSl6SPV/PWi1PQ7/tpf27Cc20hu WDU6EH28eilj+BXBowiWhHQQqyNcioyoJAUZKqtjuuJnoZiiroxfsFYUuLbvZqxpOTs8 hB5fo4nf1Hz819KMLUoCgneRanaFNYl76ggSik7HD6flhEUqdoqlPIjYgqLWdcA2ulzn y9foYtra8bdJT1ivZRtOncQeoS5hkNeusoYpc2vKY3k7/WQpFN60yQZPh30hBRpXuqfG lqyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Jia25AtA; 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 x4si11277637ejs.376.2019.11.28.00.11.48; Thu, 28 Nov 2019 00:12:13 -0800 (PST) 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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Jia25AtA; 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 S1727446AbfK1IKA (ORCPT + 99 others); Thu, 28 Nov 2019 03:10:00 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:43838 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726448AbfK1IJ7 (ORCPT ); Thu, 28 Nov 2019 03:09:59 -0500 Received: from pendragon.ideasonboard.com (unknown [104.132.253.101]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 36215729; Thu, 28 Nov 2019 09:09:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1574928597; bh=4275TLqavidGFPsDBkZNj9mIhffOCitIlDAiAtt5RTA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Jia25AtAMik5jIDCOTSO/dq60rdg6LyCZI64IGWVenk/0KEFt+8vxt//Cpd8yDmeD K1BEYSDAYIa4meJ77TzXpfkM4hRjVrsgmfHxhW21shJ8aI8mQPCeXq+dFxjJyzNIum 5bXL5WVlhN2v+Buuzo0PlfFmA5oVvU4PPKvLS+GQ= Date: Thu, 28 Nov 2019 10:09:46 +0200 From: Laurent Pinchart To: Geert Uytterhoeven Cc: Jacopo Mondi , Kieran Bingham , Simon Horman , Ulrich Hecht , David Airlie , Daniel Vetter , Linux-Renesas , DRI Development , Linux Kernel Mailing List Subject: Re: [PATCH v7 3/7] drm: rcar-du: Add support for CMM Message-ID: <20191128080946.GF4711@pendragon.ideasonboard.com> References: <20191113100556.15616-1-jacopo+renesas@jmondi.org> <20191113100556.15616-4-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On Thu, Nov 28, 2019 at 08:56:14AM +0100, Geert Uytterhoeven wrote: > On Wed, Nov 13, 2019 at 11:04 AM 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 features will be > > implemented on top of this initial one. > > > > Reviewed-by: Laurent Pinchart > > Reviewed-by: Kieran Bingham > > Signed-off-by: Jacopo Mondi > > > --- a/drivers/gpu/drm/rcar-du/Kconfig > > +++ b/drivers/gpu/drm/rcar-du/Kconfig > > @@ -5,6 +5,7 @@ config DRM_RCAR_DU > > depends on ARM || ARM64 > > depends on ARCH_RENESAS || COMPILE_TEST > > imply DRM_RCAR_LVDS > > + imply DRM_RCAR_CMM > > select DRM_KMS_HELPER > > select DRM_KMS_CMA_HELPER > > select DRM_GEM_CMA_HELPER > > @@ -13,6 +14,13 @@ config DRM_RCAR_DU > > Choose this option if you have an R-Car chipset. > > If M is selected the module will be called rcar-du-drm. > > > > +config DRM_RCAR_CMM > > + tristate "R-Car DU Color Management Module (CMM) Support" > > + depends on DRM && OF > > + depends on DRM_RCAR_DU > > DRM_RCAR_DU already depends on DRM && OF, so the line above > can be removed. I've sent a pull request already. Can we address this on top ? Or is it worth a separate patch, should we wait until we have to touch this and then fix it in a "while at it" fashion ? -- Regards, Laurent Pinchart