Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5561862rwb; Tue, 22 Nov 2022 01:32:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf5P57jHn1Bibfjj6p3oN6osSn4Fy5I7hk2oqDe7cB19yjw64CV80CHCHaRq51ezFZ7booJJ X-Received: by 2002:a05:6402:2409:b0:45c:935b:ae15 with SMTP id t9-20020a056402240900b0045c935bae15mr20045888eda.357.1669109571783; Tue, 22 Nov 2022 01:32:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669109571; cv=none; d=google.com; s=arc-20160816; b=pJX06IqKgpf9U5C3TRKVCvwAvCocWK6PGABdvK2up+/1SpM/aIJp5zTapHB1pOLoue RxcjmJu9UbcCbrcgcOF4ZKgzxdRU71eWouEJwgA7yBxFJCk4t/yKJPQLJqkw57YFyPNR M4URb8LHg00r6rGST8R9YT/lCiOrQeq8OzdO/47CQNnox/XUrwQ+l7mhknjzTEF6H8xf UUeT/71tW7O2aS4SWlKLpDCNVMyuJpCQY2otActBtLvjzYwJPU4l479ZQoy8ruXGBNn2 QFxByIbTlFcbPQ0kSn+T4aQ4NwapmoXIx/1p4NMggVdFdAuwLgj+x+dyqacNIvV+GnkX XJTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=pFQ686ZuogL12IpSV/q87IIp1onZ4UH7jGX3c6IVuYU=; b=qyNvLFYSdXvf3hsq3HhqFdmWTviOrYc7ooDuEOmmN9Kibz3eFv17Bzas8coBCUwLLN Ry9zJCnJquioqrEA2qgLgPn7t9cBc4duRUROfGlqNiJMFQkseoGixMxzAGVFl5FLjbCK 0MctBYNtmF7B3MyOxJXxLnaHkJi8qyGIcz0EHd7equ7vmIQSLcFP/4Pk4eRLJZ7SP+ZF RcaUtV1mgh5Kvwl4XIHe1tF0dmhDck3bvA2Rip7MRapr9FQLvibJQqgPRRFz979tQMW8 DWhKwNu93CQg2Mgd55luAGA0S9zi3vdOMel2NltybsBlgMeHSrgstx5BWGbRGEYYlsBU MGUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=MfhFVla0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g14-20020a056402090e00b0045cb68ca4ecsi13005132edz.37.2022.11.22.01.32.28; Tue, 22 Nov 2022 01:32:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=MfhFVla0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232174AbiKVImo (ORCPT + 91 others); Tue, 22 Nov 2022 03:42:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232660AbiKVImg (ORCPT ); Tue, 22 Nov 2022 03:42:36 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5E6991; Tue, 22 Nov 2022 00:42:26 -0800 (PST) Received: from [192.168.1.15] (91-154-32-225.elisa-laajakaista.fi [91.154.32.225]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 00F68A16; Tue, 22 Nov 2022 09:42:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1669106544; bh=nDX429cvmSfpNqL7ldm3Nf0LSI65LZrA71ihpOhaQUM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=MfhFVla0VBq06phjBEMN7R4Xvyh+DmA10/WZOEd3BBUmDpYq1CPQ/D25BZ1+qUWAO zXvrYdPYrmojO0rSjiyhGL4EFd3eRpqVaqZjuNU6rGrWKHBtJ86YQliqDN8WH6kKVu UjlCfNTuFKBOiieC7nrygKddbxLoKPI0K+OYsX8Q= Message-ID: Date: Tue, 22 Nov 2022 10:42:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v1 6/8] drm: rcar-du: Add r8a779g0 support Content-Language: en-US To: Laurent Pinchart , Kieran Bingham Cc: Geert Uytterhoeven , Krzysztof Kozlowski , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , Tomi Valkeinen References: <20221117122547.809644-1-tomi.valkeinen@ideasonboard.com> <20221117122547.809644-7-tomi.valkeinen@ideasonboard.com> <166869771876.50677.1905794243575000038@Monstersaurus> From: Tomi Valkeinen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/11/2022 05:05, Laurent Pinchart wrote: > On Thu, Nov 17, 2022 at 03:08:38PM +0000, Kieran Bingham wrote: >> Quoting Tomi Valkeinen (2022-11-17 12:25:45) >>> From: Tomi Valkeinen >>> >>> Add support for DU on r8a779g0, which is identical to DU on r8a779a0. >>> >>> Signed-off-by: Tomi Valkeinen >>> --- >>> drivers/gpu/drm/rcar-du/rcar_du_drv.c | 22 ++++++++++++++++++++++ >>> 1 file changed, 22 insertions(+) >>> >>> diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c >>> index d003e8d9e7a2..b1761d4ec4e5 100644 >>> --- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c >>> +++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c >>> @@ -524,6 +524,27 @@ static const struct rcar_du_device_info rcar_du_r8a779a0_info = { >>> .dsi_clk_mask = BIT(1) | BIT(0), >>> }; >>> >>> +static const struct rcar_du_device_info rcar_du_r8a779g0_info = { >>> + .gen = 3, >> >> Given that this is the V4H ... I wonder if this should be bumped >> already. I guess that has knock on effects through the driver though... > > rcar_du_group_setup_didsr() would need to be fixed to test gen >= 3 > instead of gen == 3. That seems to be the only problematic location. It > could thus fairly easily be done in v2, but we can also delay it. Ok, I can fix that here. Tomi