Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3228743rwd; Mon, 29 May 2023 07:29:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70tQGNCqKlMm+EoGg/N10HJYegx8XiGRNpjhO+nZ5nQ663mWvLbqirhzn1tiWGEmhFSs/B X-Received: by 2002:a17:90a:128b:b0:256:1700:5ec9 with SMTP id g11-20020a17090a128b00b0025617005ec9mr11151714pja.31.1685370549621; Mon, 29 May 2023 07:29:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685370549; cv=none; d=google.com; s=arc-20160816; b=ck7mMdc4NxSKCBVv+rHsJnjdEFLNiUq9xa6HXJNjx4gbymEmlCVzvLGazsvYbHpcMd ApRnA4XXHN0tCJw78Z0kK7lRk67HQN/67AQpdfkmlJ2G9YnY1UoObP/aPi+RhZEy/43g 5AJlyN1+BZnyUnVHtbDqjTX0SCQ3m4fi/IOk/rz1i6SGJTxmhnUVoEu2RvZzR3Ndn6o8 CFyRYNfX8VPgusJdGAkCCmUDkTkhTvkY6cyGIwYs1VQBVGuqqEjDlzPHIGA0eB7vgNxB UFzRJlULmAwKkXSZSS7ifaqVJzWLF5rP8D79WLB/qR77SWD6TexUCMnLvV+uRQQ9g5fr uxVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jD7F40b0sJgJDpNLpbOapgZMLAM7MuNQgF9hhXDSERg=; b=zWWapKhChg/aQTIaf/yzB3cda9l7MmgD7rOux42iPk1snWjDKJ8gc12hAPrgF5Zveo 8dajQC1HiwURxCJaJlRpfL7LR4We+IFjwbBppSR9DNmCEdo0bspOStvRioOEsRY2yJ+J 1buRqHq0sCI67WiEe06wEfMFQUA1tTUaNGiKXwsG7rHiOigCEy7jyYz72DijlMUhuqUK Excqr2KWOvMAvlfZxDx7XAI7Yb7Zsr21CmrixZD2Um8yj9wmhHxnbxzI+KmN/I7TAWL6 wXxy3qjd39SkqmCupu07w/jOdDRQvy3VjqnzG3jr4tPZmjZiWQFcO5l16s5s/EuVvVBW T/5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=d0E5RX8r; 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 h71-20020a63834a000000b0053f86e371a7si2136483pge.233.2023.05.29.07.28.53; Mon, 29 May 2023 07:29:09 -0700 (PDT) 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=d0E5RX8r; 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 S229991AbjE2ONx (ORCPT + 99 others); Mon, 29 May 2023 10:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229970AbjE2ONw (ORCPT ); Mon, 29 May 2023 10:13:52 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87C24A8; Mon, 29 May 2023 07:13:50 -0700 (PDT) Received: from pendragon.ideasonboard.com (om126255106133.24.openmobile.ne.jp [126.255.106.133]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 04A2F6D5; Mon, 29 May 2023 16:13:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1685369608; bh=zXfs8YkEtntyJBR2dCCV0XpPLwi19vk8XDhT1SVCdzM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d0E5RX8rZXo5MOid0k2Wf5EMcovygGgFiewEzAYTU+1PxtLEpaFKksQ4vgQyn9Zsg X25tqyD+5MgLQ6bXCaS4C2MSLet2mUuRxKV9pLmDM3n0r0jn+b2FuKcoAPN2NUQg04 vzi+rDzG4T4qcO0VIjS5pJbaO5e371x9zabT16j8= Date: Mon, 29 May 2023 17:13:49 +0300 From: Laurent Pinchart To: Biju Das Cc: David Airlie , Daniel Vetter , Philipp Zabel , Geert Uytterhoeven , Kieran Bingham , "dri-devel@lists.freedesktop.org" , "linux-renesas-soc@vger.kernel.org" , Fabrizio Castro , Prabhakar Mahadev Lad , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v9 RESEND 0/5] Add RZ/{G2L,G2LC} and RZ/V2L Display Unit support Message-ID: <20230529141349.GA15264@pendragon.ideasonboard.com> References: <20230502100912.143114-1-biju.das.jz@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Hi Biju, On Thu, May 25, 2023 at 02:30:10PM +0000, Biju Das wrote: > Hi DRM maintainers, > > Gentle ping. Sorry, I was on holidays the last two weeks. > Are we happy with moving all Renesas drm drivers to Renesas specific > directory or preference is for separate one?? This works for me. > If it is later, I can send RZ/G2L drm driver separate. > > Otherwise, I need to rebase and resend. Your series applies cleanly on top of the latest drm-next branch. Is there a specific need to rebase and resend ? I haven't had time to review patch 4/5 (the driver) yet. All the rest looks good to me. Should I already include 1/5 in my next pull request ? > Please let me know your preference. > > Cheers, > Biju > > > > -----Original Message----- > > From: Biju Das > > Sent: Monday, May 15, 2023 8:58 AM > > To: David Airlie ; Daniel Vetter ; > > Philipp Zabel ; Geert Uytterhoeven > > ; Laurent Pinchart > > ; Kieran Bingham > > > > Cc: dri-devel@lists.freedesktop.org; linux-renesas-soc@vger.kernel.org; > > Fabrizio Castro ; Prabhakar Mahadev Lad > > > > Subject: RE: [PATCH v9 RESEND 0/5] Add RZ/{G2L,G2LC} and RZ/V2L Display > > Unit support > > > > Hi All, > > > > Gentle ping. Are we happy with this patch series? > > > > Cheers, > > Biju > > > > > Subject: [PATCH v9 RESEND 0/5] Add RZ/{G2L,G2LC} and RZ/V2L Display > > > Unit support > > > > > > RZ/G2L LCD controller composed of Frame compression Processor(FCPVD), > > > Video signal processor (VSPD) and Display unit(DU). The output of LCDC > > > is connected to Display parallel interface and MIPI link video > > > interface. > > > > > > The output from DSI is connected to ADV7535. > > > > > > Created a vendor specific directory renesas and moved all renesas drm > > > drivers to it (rcar-du and shmobile). Then added support for RZ/G2L DU > > > DRM driver by creating rz_du directory. > > > > > > Ref: > > > > > > > > > v8->v9: > > > * Added Rb tag from Laurent and Acked-by tag from Kieran for patch#1. > > > * Added Rb tag from Laurent and Geert for patch#3. > > > * Dropped reset_control_assert() from error patch for > > > rzg2l_du_crtc_get() as > > > suggested by Philipp Zabel. > > > * Added Rb tag from Laurent oatch#5. > > > * Updated MAINTAINERS entries for common parts(Makefile and Kconfig). > > > v7->v8: > > > * Moved rcar-du and shmobile DRM drivers to renesas specific vendor > > > directory. > > > * Fixed the typo vsp2->du in RZ/V2L DU bindings patch. > > > * Added Rb tag from Rob for RZ/V2L DU bindings patch. > > > * Dropped RCar du lib and created RZ/G2L DU DRM driver by creating > > > rz_du folder. > > > * Updated MAINTAINERS entries. > > > v6->v7: > > > * Split DU lib and RZ/G2L du driver as separate patch series as > > > DU support added to more platforms based on RZ/G2L alike SoCs. > > > * Rebased to latest drm-tip. > > > * Added patch #2 for binding support for RZ/V2L DU > > > * Added patch #4 for driver support for RZ/V2L DU > > > * Added patch #5 for SoC DTSI support for RZ/G2L DU > > > * Added patch #6 for SoC DTSI support for RZ/V2L DU > > > * Added patch #7 for Enabling DU on SMARC EVK based on RZ/{G2L,V2L} > > > SoCs. > > > * Added patch #8 for Enabling DU on SMARC EVK based on RZ/G2LC SoC. > > > v5->v6: > > > * Merged DU lib and RZ/G2L du driver in same patch series > > > * Rebased to latest drm-misc. > > > * Merged patch#1 to RZ/G2L Driver patch. > > > * Updated KConfig dependency from ARCH_RENESAS->ARCH_RZG2L. > > > * Optimized rzg2l_du_output_name() by removing unsupported outputs. > > > > > > v4->v5: > > > * Added Rb tag from Rob for binding patch. > > > * Started using RCar DU libs(kms, vsp and encoder) > > > * Started using rcar_du_device, rcar_du_write, rcar_du_crtc, > > > rcar_du_format_info and rcar_du_encoder. > > > v3->v4: > > > * Changed compatible name from > > > renesas,du-r9a07g044->renesas,r9a07g044- > > > du > > > * started using same compatible for RZ/G2{L,LC} > > > * Removed rzg2l_du_group.h and struct rzg2l_du_group > > > * Renamed __rzg2l_du_group_start_stop->rzg2l_du_start_stop > > > * Removed rzg2l_du_group_restart > > > * Updated rzg2l_du_crtc_set_display_timing > > > * Removed mode_valid callback. > > > * Updated rzg2l_du_crtc_create() parameters > > > * Updated compatible > > > * Removed RZG2L_DU_MAX_GROUPS > > > V2->v3: > > > * Added new bindings for RZ/G2L DU > > > * Removed indirection and created new DRM driver based on R-Car DU > > > v1->v2: > > > * Based on [1], all references to 'rzg2l_lcdc' replaced with > > 'rzg2l_du' > > > * Updated commit description for bindings > > > * Removed LCDC references from bindings > > > * Changed clock name from du.0->aclk from bindings > > > * Changed reset name from du.0->du from bindings > > > * Replaced crtc_helper_funcs->rcar_crtc_helper_funcs > > > * Updated macro DRM_RZG2L_LCDC->DRM_RZG2L_DU > > > * Replaced rzg2l-lcdc-drm->rzg2l-du-drm > > > * Added forward declaration for struct reset_control > > > > > > [1] > > > > > > Biju Das (5): > > > drm: Place Renesas drivers in a separate dir > > > dt-bindings: display: Document Renesas RZ/G2L DU bindings > > > dt-bindings: display: renesas,rzg2l-du: Document RZ/V2L DU bindings > > > drm: Add RZ/G2L DU Support > > > MAINTAINERS: Add maintainer for RZ DU drivers > > > > > > .../bindings/display/renesas,rzg2l-du.yaml | 129 +++ > > > MAINTAINERS | 16 +- > > > drivers/gpu/drm/Kconfig | 4 +- > > > drivers/gpu/drm/Makefile | 3 +- > > > drivers/gpu/drm/renesas/Kconfig | 5 + > > > drivers/gpu/drm/renesas/Makefile | 5 + > > > drivers/gpu/drm/{ => renesas}/rcar-du/Kconfig | 0 > > > .../gpu/drm/{ => renesas}/rcar-du/Makefile | 0 > > > .../gpu/drm/{ => renesas}/rcar-du/rcar_cmm.c | 0 > > > .../gpu/drm/{ => renesas}/rcar-du/rcar_cmm.h | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_crtc.c | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_crtc.h | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_drv.c | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_drv.h | 0 > > > .../{ => renesas}/rcar-du/rcar_du_encoder.c | 0 > > > .../{ => renesas}/rcar-du/rcar_du_encoder.h | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_group.c | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_group.h | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_kms.c | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_kms.h | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_plane.c | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_plane.h | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_regs.h | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_vsp.c | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_du_vsp.h | 0 > > > .../{ => renesas}/rcar-du/rcar_du_writeback.c | 0 > > > .../{ => renesas}/rcar-du/rcar_du_writeback.h | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_dw_hdmi.c | 0 > > > .../gpu/drm/{ => renesas}/rcar-du/rcar_lvds.c | 0 > > > .../gpu/drm/{ => renesas}/rcar-du/rcar_lvds.h | 0 > > > .../{ => renesas}/rcar-du/rcar_lvds_regs.h | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_mipi_dsi.c | 0 > > > .../drm/{ => renesas}/rcar-du/rcar_mipi_dsi.h | 0 > > > .../rcar-du/rcar_mipi_dsi_regs.h | 0 > > > .../{ => renesas}/rcar-du/rzg2l_mipi_dsi.c | 0 > > > .../rcar-du/rzg2l_mipi_dsi_regs.h | 0 > > > drivers/gpu/drm/renesas/rz-du/Kconfig | 20 + > > > drivers/gpu/drm/renesas/rz-du/Makefile | 8 + > > > drivers/gpu/drm/renesas/rz-du/rzg2l_du_crtc.c | 714 ++++++++++++++++ > > > drivers/gpu/drm/renesas/rz-du/rzg2l_du_crtc.h | 99 +++ > > > drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c | 188 +++++ > > > drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.h | 89 ++ > > > .../gpu/drm/renesas/rz-du/rzg2l_du_encoder.c | 112 +++ > > > .../gpu/drm/renesas/rz-du/rzg2l_du_encoder.h | 28 + > > > drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 770 ++++++++++++++++++ > > > drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h | 43 + > > > drivers/gpu/drm/renesas/rz-du/rzg2l_du_regs.h | 67 ++ > > > drivers/gpu/drm/renesas/rz-du/rzg2l_du_vsp.c | 430 ++++++++++ > > > drivers/gpu/drm/renesas/rz-du/rzg2l_du_vsp.h | 94 +++ > > > .../gpu/drm/{ => renesas}/shmobile/Kconfig | 0 > > > .../gpu/drm/{ => renesas}/shmobile/Makefile | 0 > > > .../shmobile/shmob_drm_backlight.c | 0 > > > .../shmobile/shmob_drm_backlight.h | 0 > > > .../{ => renesas}/shmobile/shmob_drm_crtc.c | 0 > > > .../{ => renesas}/shmobile/shmob_drm_crtc.h | 0 > > > .../{ => renesas}/shmobile/shmob_drm_drv.c | 0 > > > .../{ => renesas}/shmobile/shmob_drm_drv.h | 0 > > > .../{ => renesas}/shmobile/shmob_drm_kms.c | 0 > > > .../{ => renesas}/shmobile/shmob_drm_kms.h | 0 > > > .../{ => renesas}/shmobile/shmob_drm_plane.c | 0 > > > .../{ => renesas}/shmobile/shmob_drm_plane.h | 0 > > > .../{ => renesas}/shmobile/shmob_drm_regs.h | 0 > > > 62 files changed, 2816 insertions(+), 8 deletions(-) create mode > > > 100644 Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml > > > create mode 100644 drivers/gpu/drm/renesas/Kconfig create mode > > > 100644 drivers/gpu/drm/renesas/Makefile rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/Kconfig (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/Makefile (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_cmm.c (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_cmm.h (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_crtc.c (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_crtc.h (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_drv.c (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_drv.h (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_encoder.c (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_encoder.h (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_group.c (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_group.h (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_kms.c (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_kms.h (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_plane.c (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_plane.h (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_regs.h (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_vsp.c (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_vsp.h (100%) rename drivers/gpu/drm/{ => > > > renesas}/rcar-du/rcar_du_writeback.c (100%) rename drivers/gpu/drm/{ > > > => renesas}/rcar-du/rcar_du_writeback.h (100%) rename > > > drivers/gpu/drm/{ => renesas}/rcar-du/rcar_dw_hdmi.c (100%) rename > > > drivers/gpu/drm/{ => renesas}/rcar-du/rcar_lvds.c (100%) rename > > > drivers/gpu/drm/{ => renesas}/rcar-du/rcar_lvds.h (100%) rename > > > drivers/gpu/drm/{ => renesas}/rcar-du/rcar_lvds_regs.h (100%) rename > > > drivers/gpu/drm/{ => renesas}/rcar-du/rcar_mipi_dsi.c (100%) rename > > > drivers/gpu/drm/{ => renesas}/rcar-du/rcar_mipi_dsi.h (100%) rename > > > drivers/gpu/drm/{ => renesas}/rcar-du/rcar_mipi_dsi_regs.h (100%) > > > rename drivers/gpu/drm/{ => renesas}/rcar-du/rzg2l_mipi_dsi.c (100%) > > > rename drivers/gpu/drm/{ => renesas}/rcar-du/rzg2l_mipi_dsi_regs.h > > > (100%) create mode 100644 drivers/gpu/drm/renesas/rz-du/Kconfig > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/Makefile > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/rzg2l_du_crtc.c > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/rzg2l_du_crtc.h > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.h > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/rzg2l_du_encoder.c > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/rzg2l_du_encoder.h > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/rzg2l_du_regs.h > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/rzg2l_du_vsp.c > > > create mode 100644 drivers/gpu/drm/renesas/rz-du/rzg2l_du_vsp.h > > > rename drivers/gpu/drm/{ => renesas}/shmobile/Kconfig (100%) rename > > > drivers/gpu/drm/{ => renesas}/shmobile/Makefile (100%) rename > > > drivers/gpu/drm/{ => renesas}/shmobile/shmob_drm_backlight.c (100%) > > > rename drivers/gpu/drm/{ => renesas}/shmobile/shmob_drm_backlight.h > > > (100%) rename drivers/gpu/drm/{ => renesas}/shmobile/shmob_drm_crtc.c > > > (100%) rename drivers/gpu/drm/{ => renesas}/shmobile/shmob_drm_crtc.h > > > (100%) rename drivers/gpu/drm/{ => renesas}/shmobile/shmob_drm_drv.c > > > (100%) rename drivers/gpu/drm/{ => renesas}/shmobile/shmob_drm_drv.h > > > (100%) rename drivers/gpu/drm/{ => renesas}/shmobile/shmob_drm_kms.c > > > (100%) rename drivers/gpu/drm/{ => renesas}/shmobile/shmob_drm_kms.h > > > (100%) rename drivers/gpu/drm/{ => > > > renesas}/shmobile/shmob_drm_plane.c > > > (100%) rename drivers/gpu/drm/{ => > > > renesas}/shmobile/shmob_drm_plane.h > > > (100%) rename drivers/gpu/drm/{ => renesas}/shmobile/shmob_drm_regs.h > > > (100%) > > > -- Regards, Laurent Pinchart