Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11321460rwd; Thu, 22 Jun 2023 11:37:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7MGDFR1XmjXW3L10+Fcnhs4qF79JQ4EGbYZA3Mze/u+aKeNzSyuAX1u3Xo49Ug9rAH+LIx X-Received: by 2002:a05:6a00:1914:b0:668:74e9:8eea with SMTP id y20-20020a056a00191400b0066874e98eeamr13348562pfi.33.1687459047706; Thu, 22 Jun 2023 11:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687459047; cv=none; d=google.com; s=arc-20160816; b=PYdGKUCHeC7UY/6ZRk7e1O1PiHSWzGEdHbeLBYteVc0XAS2R9QQvvtZW1rNHcWUUmI yIGF2IEHsU4MuiQ+XHi3E7mIkTcr8nFD8Wk3vFYbpB7g0u7PT5JzeHdc/lVnMMi1m2mI hDkIMphnU+x9sYPc9ZnJFLIntMDOrfa/GRCAWcaQ7aRr4a0/14fYtaR9aRP6RioXLlWK wOFXpSoTGzcKK3ccJUM9URFkzVcP4Cr1qwGI9J9XtssuxMyD1qkzVZEGPKhhf8yBHK95 2ue7etg1KvoRHUb4WdWPHM3YLMTW/czJD7IoMnhoS4quCTdgn0wAaesYjjPehuoaZCIS i+SQ== 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 :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=2eCSU8eCreQMQARaqFK0Z7W8VecyujL3iJIi084r8bk=; b=wYS/+8u8As4gtgCycUSFUly5RT1GLV7u+DnLKAJ2yQzD4TmBmfIUidHhde26mfJ9nj Mkl7mWYUdbVQpYZq4kh9/EVGEkJk/0h875TeJm09FKNwQIDRdCuf3Y9m4sYmDty5VXAa 373enzFhi1HwWvd9jYgiMVui/svChXOGfp7p2mMZ8lTOIVPCx4iogh7wFUiqKciOKHNK 30Ib/lx/dv7eIA4eOXTj3fuBRmapIjPyjPV1NUIUksbYFxC9c0OOwyXNwKpx4wVR/yuD /M8/pvnlkzKhLunIjpqJbjcsn4SYJs3D/NNLgdHL+eT502zzj6qmmAFYX8KGguwCUgkQ K8qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b=hJ2zkmtw; 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 z6-20020aa79586000000b0066673e30ce8si1299773pfj.272.2023.06.22.11.37.15; Thu, 22 Jun 2023 11:37:27 -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 header.i=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b=hJ2zkmtw; 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 S230266AbjFVSTy (ORCPT + 99 others); Thu, 22 Jun 2023 14:19:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230474AbjFVST1 (ORCPT ); Thu, 22 Jun 2023 14:19:27 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C9A4268B for ; Thu, 22 Jun 2023 11:19:16 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id 5614622812f47-38dec65ab50so5529056b6e.2 for ; Thu, 22 Jun 2023 11:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20221208.gappssmtp.com; s=20221208; t=1687457955; x=1690049955; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=2eCSU8eCreQMQARaqFK0Z7W8VecyujL3iJIi084r8bk=; b=hJ2zkmtwhWO4g6OT6PCjZBUnY/2he9q5drY/j/hU4kEwc0SEnsoJHwTW8w45eM3b4w RN+PcJ/CqcpXve69GuN6LRpJXwbStZICZdvtuz9ODFbTBwVrIi4df9d37SnQbadciOVX PUWTPjiEemuj1TK613lA+nTvPw7a9KxaI1DpKzSwG53ZJ6cICspUvwoP2+qVvLhzdJBO XvSD2WpkIhuOezesW//T48I3MF5cbE7ICNuM9mESqaUSO6Sb1IIqLdz128uSW8oE6emF WFbEZsha4ORo5ZYpAK507l77w6vQFM/JTqFd6iyy9X378usl35oJycAQ0wWSu9U37mM8 J7ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687457955; x=1690049955; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2eCSU8eCreQMQARaqFK0Z7W8VecyujL3iJIi084r8bk=; b=TubF3gpuYZrPwYt05GE3MtcZEycxMe6b5spodDW7d0cBQQ8d8YgfDwp41e/8gh14sQ jNCniHfnGyw9+UoTwbRo3La10iY6ISAaNj9FuPmfyMXWTCgTPq22Cz9y3x9GB7lTlPBs K7PNeuo/yf1uCLxqlxKHZXIqpmXB67+DtlksbUbXKEkQibyJQsscC7aYRpgkcFs2T1Fc 2/IUV1ITWGfezalvUK1ahTayidxZt2gzsnNwy0m3HSZ3AAhhu0VX0YIa0KE0g11A4E3R f82pXwIIUBBUDz8drq3mnGXNDP0ZWh2qOMKsr/cJbN/HWvHCf+VHQTjThnAyNfXgYbMA PSEw== X-Gm-Message-State: AC+VfDySB19NqZFUjaP3qT0lQDquV+b16nPO8UnM1EGvvPnPgqN580el JkgmNAXNMZwIVQ+J78+Vy8AXEA== X-Received: by 2002:a05:6808:8e8:b0:39e:dc23:d835 with SMTP id d8-20020a05680808e800b0039edc23d835mr13371412oic.48.1687457955221; Thu, 22 Jun 2023 11:19:15 -0700 (PDT) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id h8-20020a63df48000000b00548fb73874asm5184584pgj.37.2023.06.22.11.19.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 11:19:14 -0700 (PDT) Date: Thu, 22 Jun 2023 11:19:14 -0700 (PDT) X-Google-Original-Date: Thu, 22 Jun 2023 11:18:34 PDT (-0700) Subject: Re: [PATCH 0/9] Add DRM driver for StarFive SoC JH7110 In-Reply-To: <20230602074043.33872-1-keith.zhao@starfivetech.com> CC: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, kernel@esmil.dk, Paul Walmsley , aou@eecs.berkeley.edu, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, p.zabel@pengutronix.de, sumit.semwal@linaro.org, christian.koenig@amd.com, andersson@kernel.org, heiko@sntech.de, shawnguo@kernel.org, jagan@edgeble.ai, macromorgan@hotmail.com, keith.zhao@starfivetech.com, jack.zhu@starfivetech.com, shengyang.chen@starfivetech.com, changhuang.liang@starfivetech.com From: Palmer Dabbelt To: keith.zhao@starfivetech.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 On Fri, 02 Jun 2023 00:40:34 PDT (-0700), keith.zhao@starfivetech.com wrote: > Hi, > > This series is a DRM driver for StarFive SoC JH7110, which includes a > display controller driver for Verisilicon DC8200 and an HMDI driver. > > We use GEM framework for buffer management and allocate memory by > using DMA APIs. > > The JH7110 display subsystem includes a display controller Verisilicon > DC8200 and an HDMI transmitter. The HDMI TX IP is designed for transmitting > video and audio data from DC8200 to a display device. The HDMI TX IP > consists of the digital controller and the physical layer. > > This series does not support HDMI audio driver. > > Keith Zhao (9): > dt-bindings: display: Add yamls for JH7110 display subsystem > riscv: dts: starfive: jh7110: add dc&hdmi controller node > drm/verisilicon: Add basic drm driver > drm/verisilicon: Add gem driver for JH7110 SoC > drm/verisilicon: Add mode config funcs > drm/verisilicon: Add drm crtc funcs > drm/verisilicon: Add drm plane funcs > drm/verisilicon: Add verisilicon dc controller driver > drm/verisilicon: Add starfive hdmi driver > > .../display/verisilicon/starfive-hdmi.yaml | 93 + > .../display/verisilicon/verisilicon-dc.yaml | 110 + > .../display/verisilicon/verisilicon-drm.yaml | 42 + > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > MAINTAINERS | 9 + > .../jh7110-starfive-visionfive-2.dtsi | 87 + > arch/riscv/boot/dts/starfive/jh7110.dtsi | 46 + > drivers/gpu/drm/Kconfig | 2 + > drivers/gpu/drm/Makefile | 1 + > drivers/gpu/drm/verisilicon/Kconfig | 24 + > drivers/gpu/drm/verisilicon/Makefile | 13 + > drivers/gpu/drm/verisilicon/starfive_hdmi.c | 928 ++++++++ > drivers/gpu/drm/verisilicon/starfive_hdmi.h | 296 +++ > drivers/gpu/drm/verisilicon/vs_crtc.c | 388 ++++ > drivers/gpu/drm/verisilicon/vs_crtc.h | 74 + > drivers/gpu/drm/verisilicon/vs_dc.c | 1040 +++++++++ > drivers/gpu/drm/verisilicon/vs_dc.h | 62 + > drivers/gpu/drm/verisilicon/vs_dc_hw.c | 2008 +++++++++++++++++ > drivers/gpu/drm/verisilicon/vs_dc_hw.h | 496 ++++ > drivers/gpu/drm/verisilicon/vs_drv.c | 301 +++ > drivers/gpu/drm/verisilicon/vs_drv.h | 52 + > drivers/gpu/drm/verisilicon/vs_fb.c | 181 ++ > drivers/gpu/drm/verisilicon/vs_fb.h | 15 + > drivers/gpu/drm/verisilicon/vs_gem.c | 372 +++ > drivers/gpu/drm/verisilicon/vs_gem.h | 72 + > drivers/gpu/drm/verisilicon/vs_plane.c | 440 ++++ > drivers/gpu/drm/verisilicon/vs_plane.h | 74 + > drivers/gpu/drm/verisilicon/vs_type.h | 72 + > include/uapi/drm/drm_fourcc.h | 83 + > include/uapi/drm/vs_drm.h | 50 + > 30 files changed, 7433 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/verisilicon/starfive-hdmi.yaml > create mode 100644 Documentation/devicetree/bindings/display/verisilicon/verisilicon-dc.yaml > create mode 100644 Documentation/devicetree/bindings/display/verisilicon/verisilicon-drm.yaml > create mode 100644 drivers/gpu/drm/verisilicon/Kconfig > create mode 100644 drivers/gpu/drm/verisilicon/Makefile > create mode 100644 drivers/gpu/drm/verisilicon/starfive_hdmi.c > create mode 100644 drivers/gpu/drm/verisilicon/starfive_hdmi.h > create mode 100644 drivers/gpu/drm/verisilicon/vs_crtc.c > create mode 100644 drivers/gpu/drm/verisilicon/vs_crtc.h > create mode 100644 drivers/gpu/drm/verisilicon/vs_dc.c > create mode 100644 drivers/gpu/drm/verisilicon/vs_dc.h > create mode 100644 drivers/gpu/drm/verisilicon/vs_dc_hw.c > create mode 100644 drivers/gpu/drm/verisilicon/vs_dc_hw.h > create mode 100644 drivers/gpu/drm/verisilicon/vs_drv.c > create mode 100644 drivers/gpu/drm/verisilicon/vs_drv.h > create mode 100644 drivers/gpu/drm/verisilicon/vs_fb.c > create mode 100644 drivers/gpu/drm/verisilicon/vs_fb.h > create mode 100644 drivers/gpu/drm/verisilicon/vs_gem.c > create mode 100644 drivers/gpu/drm/verisilicon/vs_gem.h > create mode 100644 drivers/gpu/drm/verisilicon/vs_plane.c > create mode 100644 drivers/gpu/drm/verisilicon/vs_plane.h > create mode 100644 drivers/gpu/drm/verisilicon/vs_type.h > create mode 100644 include/uapi/drm/vs_drm.h This popped up in the RISC-V patchwork, so Acked-by: Palmer Dabbelt # RISC-V in case anyone was looking for one -- I definately don't know anything about DRM, though, so not sure that means much...