Re: [PATCH 0/4] cover-letter: Allow MMIO regions to be exported through dmabuf

2024-12-16 Thread Keith Busch
On Mon, Dec 16, 2024 at 11:21:39AM +0100, Christian König wrote: > Am 16.12.24 um 10:54 schrieb Wei Lin Guay: > > From: Wei Lin Guay > > However, as a general mechanism, it can support many other scenarios with > > VFIO. I imagine this dmabuf approach to be usable by iommufd as well for > > generi

RE: [PATCH v5 1/9] dt-bindings: display: bindings for starfive, JH7110 display pipeline

2024-11-21 Thread Keith Zhao
> -Original Message- > From: Krzysztof Kozlowski > Sent: 2024年11月21日 16:23 > To: Keith Zhao > Cc: devicet...@vger.kernel.org; dri-devel@lists.freedesktop.org; > andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard

RE: [PATCH v5 3/9] drm: bridge: inno-hdmi: add inno bridge driver.

2024-11-20 Thread Keith Zhao
> -Original Message- > From: Krzysztof Kozlowski > Sent: 2024年11月20日 15:38 > To: Keith Zhao ; devicet...@vger.kernel.org; > dri-devel@lists.freedesktop.org > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard

RE: [PATCH v5 3/9] drm: bridge: inno-hdmi: add inno bridge driver.

2024-11-20 Thread Keith Zhao
> -Original Message- > From: Uwe Kleine-König > Sent: 2024年11月20日 22:56 > To: Keith Zhao > Cc: devicet...@vger.kernel.org; dri-devel@lists.freedesktop.org; > andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonb

[PATCH v5 7/9] drm/vs: Add VS Plane API

2024-11-19 Thread keith zhao
This commit introduces plane functions and helper functions for the VS DRM subsystem, enhancing support for managing display planes and their configurations. Signed-off-by: keith zhao --- drivers/gpu/drm/verisilicon/Makefile | 3 +- drivers/gpu/drm/verisilicon/vs_plane.c | 358

[PATCH v5 6/9] drm/vs: Add CRTC Functions

2024-11-19 Thread keith zhao
This commit adds CRTC functions and helper functions to the VS DRM subsystem, enhancing support for display management and configurations. Signed-off-by: keith zhao --- drivers/gpu/drm/verisilicon/Makefile | 3 +- drivers/gpu/drm/verisilicon/vs_crtc.c | 241

[PATCH v5 2/9] riscv: dts: Add display property

2024-11-19 Thread keith zhao
Add the display DT nodes in Starfive JH7110 soc-specific DT file. Signed-off-by: keith zhao --- .../boot/dts/starfive/jh7110-common.dtsi | 125 ++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 41 ++ 2 files changed, 166 insertions(+) diff --git a/arch/riscv/boot

[PATCH v5 3/9] drm: bridge: inno-hdmi: add inno bridge driver.

2024-11-19 Thread keith zhao
function is used to create the connector. Signed-off-by: keith zhao --- MAINTAINERS |2 + drivers/gpu/drm/bridge/Kconfig|2 + drivers/gpu/drm/bridge/Makefile |1 + drivers/gpu/drm/bridge/innosilicon/Kconfig|6

[PATCH v5 9/9] drm/vs: Add VS DRM Master Driver for JH7110 SoC

2024-11-19 Thread keith zhao
The VS DRM master driver for the JH7110 System on Chip (SoC), along with the addition of a DMA GEM (Graphics Execution Manager) driver Signed-off-by: keith zhao --- drivers/gpu/drm/verisilicon/Makefile | 3 +- drivers/gpu/drm/verisilicon/vs_drv.c | 777 +++ 2 files

[PATCH v5 8/9] drm/vs: Add Innosilicon HDMI Support

2024-11-19 Thread keith zhao
This commit adds the Innosilicon HDMI driver, designed to interface with the VS display controller. The driver leverages the APIs provided by the Innosilicon HDMI bridge. Signed-off-by: keith zhao --- drivers/gpu/drm/verisilicon/Kconfig | 19 + drivers/gpu/drm/verisilicon/Makefile

[PATCH v5 1/9] dt-bindings: display: bindings for starfive, JH7110 display pipeline

2024-11-19 Thread keith zhao
nding specification, but is intended to be referenced by platform-specific bindings for the IP core. Signed-off-by: keith zhao --- .../display/bridge/innosilicon,inno-hdmi.yaml | 45 + .../display/rockchip/rockchip,inno-hdmi.yaml | 27 +-- .../starfive/starfive,jh7110-dc8200.yaml

[PATCH v5 0/9] drm/verisilicon : support DC8200 and inno hdmi

2024-11-19 Thread keith zhao
. - Add a simple encoder for dsi output. V5: Changes since v5: - Refine the Innosilicon HDMI by quoting bridge abstracting. - Delete the encoder driver, which is created directly by internal functions. - Adapt to the changes in kernel upgrade APIs, such as drm_client_setup. keith zhao (9): dt

[PATCH v5 4/9] drm/vs: Add Hardware Functions for VS DC8200

2024-11-19 Thread keith zhao
This commit introduces hardware-based APIs for the VS DRM related to the DC8200 Signed-off-by: keith zhao --- MAINTAINERS|1 + drivers/gpu/drm/Kconfig|2 + drivers/gpu/drm/Makefile |1 + drivers/gpu/drm/verisilicon/Kconfig

[PATCH v5 5/9] drm/vs: Add Base API for VS Mode Configuration

2024-11-19 Thread keith zhao
to inactive CRTCs. This helps to optimize the commit process and reduces unnecessary overhead when dealing with inactive display resources. Signed-off-by: keith zhao --- drivers/gpu/drm/verisilicon/Makefile | 3 ++- drivers/gpu/drm/verisilicon/vs_modeset.c | 31

RE: [PATCH v4 08/10] drm/vs: add vs drm master driver

2024-06-25 Thread Keith Zhao
> -Original Message- > From: Dmitry Baryshkov > Sent: 2024年6月24日 5:08 > To: Keith Zhao > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.skra...@gmail.com; maarten.lankho...@li

RE: [PATCH v4 10/10] drm/vs: add simple dsi encoder

2024-06-25 Thread Keith Zhao
> -Original Message- > From: Dmitry Baryshkov > Sent: 2024年6月24日 5:11 > To: Keith Zhao > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.skra...@gmail.com; maarten.lankho...@li

RE: [PATCH v4 04/10] drm/vs: Add hardware funcs for vs.

2024-06-25 Thread Keith Zhao
> -Original Message- > From: Dmitry Baryshkov > Sent: 2024年6月24日 4:51 > To: Keith Zhao > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.skra...@gmail.com; maarten.lankho...@li

RE: [PATCH v4 03/10] drm/rockchip:hdmi: migrate to use inno-hdmi bridge driver

2024-06-23 Thread Keith Zhao
Hi Maxime: > -Original Message- > From: Maxime Ripard > Sent: 2024年5月22日 15:25 > To: Keith Zhao > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.skra...@gmai

RE: [PATCH v4 06/10] drm/vs: add vs plane api

2024-06-23 Thread Keith Zhao
Hi Dmitry: > -Original Message- > From: Dmitry Baryshkov > Sent: 2024年5月22日 5:06 > To: Keith Zhao > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.skra...@gmai

RE: [PATCH v4 10/10] drm/vs: add simple dsi encoder

2024-06-23 Thread Keith Zhao
Hi Dmitry: > -Original Message- > From: Dmitry Baryshkov > Sent: 2024年5月21日 23:25 > To: Keith Zhao > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.skra...@gmai

RE: [PATCH v4 05/10] drm/vs: add vs mode config init

2024-06-23 Thread Keith Zhao
Hi Dmitry: > -Original Message- > From: Dmitry Baryshkov > Sent: 2024年5月22日 4:53 > To: Keith Zhao > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.skra...@gmai

RE: [PATCH v4 07/10] drm/vs: add ctrc fun

2024-06-23 Thread Keith Zhao
Hi Dmitry: > -Original Message- > From: Dmitry Baryshkov > Sent: 2024年5月22日 5:08 > To: Keith Zhao > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.skra...@gmai

RE: [PATCH v4 08/10] drm/vs: add vs drm master driver

2024-06-23 Thread Keith Zhao
Hi Dmitry: > -Original Message- > From: Dmitry Baryshkov > Sent: 2024年5月22日 5:14 > To: Keith Zhao > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.skra...@gmai

RE: [PATCH v4 04/10] drm/vs: Add hardware funcs for vs.

2024-06-23 Thread Keith Zhao
Hi Dmitry: > -Original Message- > From: Dmitry Baryshkov > Sent: 2024年5月22日 4:51 > To: Keith Zhao > Cc: andrzej.ha...@intel.com; neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.skra...@gmai

RE: [PATCH v4 02/10] drm/bridge: add common api for inno hdmi

2024-05-21 Thread Keith Zhao
Hi Alex, Laurent: I want to make as few changes as possible on the current basis, and add bridge_fun, > -Original Message- > From: Laurent Pinchart > Sent: 2024年5月21日 23:42 > To: Alex Bee > Cc: Keith Zhao ; andrzej.ha...@intel.com; > neil.armstr...@linaro.org; rf

RE: [PATCH v4 01/10] dt-bindings: display: Add YAML schema for JH7110 display pipeline

2024-05-21 Thread Keith Zhao
Hi Krzysztof: > -Original Message- > From: Krzysztof Kozlowski > Sent: 2024年5月21日 15:30 > To: Keith Zhao ; andrzej.ha...@intel.com; > neil.armstr...@linaro.org; rf...@kernel.org; > laurent.pinch...@ideasonboard.com; jo...@kwiboo.se; > jernej.skra...@gmai

[PATCH v4 10/10] drm/vs: add simple dsi encoder

2024-05-20 Thread keith
add encoder to match cdns dsi driver Signed-off-by: keith --- drivers/gpu/drm/verisilicon/Makefile| 3 +- drivers/gpu/drm/verisilicon/vs_drv.c| 1 + drivers/gpu/drm/verisilicon/vs_drv.h| 1 + drivers/gpu/drm/verisilicon/vs_simple_enc.c | 190

[PATCH v4 02/10] drm/bridge: add common api for inno hdmi

2024-05-20 Thread keith
Add INNO common api so that it can be used by vendor drivers which implement vendor specific extensions to Innosilicon HDMI. Signed-off-by: keith --- MAINTAINERS | 2 + drivers/gpu/drm/bridge/Kconfig| 2 + drivers/gpu/drm/bridge/Makefile

[PATCH v4 09/10] drm/vs: Innosilicon HDMI support

2024-05-20 Thread keith
add inno hdmi driver which binds to vs display controller and this driver uses the commom api from the inno hdmi Signed-off-by: keith --- drivers/gpu/drm/verisilicon/Kconfig | 10 + drivers/gpu/drm/verisilicon/Makefile | 1 + .../gpu/drm/verisilicon/inno_hdmi-starfive.c

[PATCH v4 04/10] drm/vs: Add hardware funcs for vs.

2024-05-20 Thread keith
add hardware base api for vs drm Signed-off-by: keith --- MAINTAINERS|1 + drivers/gpu/drm/Kconfig|2 + drivers/gpu/drm/Makefile |1 + drivers/gpu/drm/verisilicon/Kconfig| 13 + drivers/gpu/drm/verisilicon/Makefile

[PATCH v4 08/10] drm/vs: add vs drm master driver

2024-05-20 Thread keith
Add vs DRM master driver for JH7110 SoC ADD DMA GEM driver Signed-off-by: keith --- drivers/gpu/drm/verisilicon/Makefile | 3 +- drivers/gpu/drm/verisilicon/vs_drv.c | 718 +++ 2 files changed, 720 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm

[PATCH v4 03/10] drm/rockchip:hdmi: migrate to use inno-hdmi bridge driver

2024-05-20 Thread keith
Add the ROCKCHIP inno hdmi driver that uses the Inno DesignWare HDMI TX bridge and remove the old separate one. Signed-off-by: keith --- drivers/gpu/drm/rockchip/Kconfig |1 + drivers/gpu/drm/rockchip/Makefile |2 +- drivers/gpu/drm/rockchip/inno_hdmi-rockchip.c

[PATCH v4 07/10] drm/vs: add ctrc fun

2024-05-20 Thread keith
add crtc funs and helper funs Signed-off-by: keith --- drivers/gpu/drm/verisilicon/Makefile | 3 +- drivers/gpu/drm/verisilicon/vs_crtc.c | 241 ++ drivers/gpu/drm/verisilicon/vs_crtc.h | 17 ++ 3 files changed, 260 insertions(+), 1 deletion(-) create mode 100644

[PATCH v4 05/10] drm/vs: add vs mode config init

2024-05-20 Thread keith
add vs mode config base api Signed-off-by: keith --- drivers/gpu/drm/verisilicon/Makefile | 3 +- drivers/gpu/drm/verisilicon/vs_modeset.c | 36 drivers/gpu/drm/verisilicon/vs_modeset.h | 10 +++ 3 files changed, 48 insertions(+), 1 deletion(-) create mode

[PATCH v4 06/10] drm/vs: add vs plane api

2024-05-20 Thread keith
add plane funs and helper funs add vs drm common struct and funs Signed-off-by: keith --- drivers/gpu/drm/verisilicon/Makefile | 3 +- drivers/gpu/drm/verisilicon/vs_drv.h | 93 + drivers/gpu/drm/verisilicon/vs_plane.c | 487 + drivers/gpu/drm/verisilicon

[PATCH v4 01/10] dt-bindings: display: Add YAML schema for JH7110 display pipeline

2024-05-20 Thread keith
DesignWare HDMI TX controller isn't a full device tree binding specification, but is meant to be referenced by platform-specific bindings for the IP core. Signed-off-by: keith --- .../display/bridge/innosilicon,inno-hdmi.yaml | 49 + .../display/rockchip/rockchip,inno-hdmi.yaml

[PATCH v4 00/10] drm/verisilicon : support DC8200 and inno hdmi

2024-05-20 Thread keith
dy up the inno hdmi public interface. - Add a simple encoder for dsi output. keith (10): dt-bindings: display: Add YAML schema for JH7110 display pipeline drm/bridge: add common api for inno hdmi drm/rockchip:hdmi: migrate to use inno-hdmi bridge driver drm/vs: Add hardware funcs for vs. dr

RE: [v3 6/6] drm/vs: simple encoder

2024-05-15 Thread Keith Zhao
> -Original Message- > From: Dmitry Baryshkov > Sent: 2024年5月15日 23:17 > To: Keith Zhao > Cc: devicet...@vger.kernel.org; dri-devel@lists.freedesktop.org; > linux-ker...@vger.kernel.org; linux-ri...@lists.infradead.org; > a...@eecs.berkeley.edu; suijingf...@

RE: [v3 6/6] drm/vs: simple encoder

2024-05-15 Thread Keith Zhao
> -Original Message- > From: Dmitry Baryshkov > Sent: 2023年12月5日 21:19 > To: Keith Zhao > Cc: devicet...@vger.kernel.org; dri-devel@lists.freedesktop.org; > linux-ker...@vger.kernel.org; linux-ri...@lists.infradead.org; > a...@eecs.berkeley.edu; suijingf...@

dri-devel@lists.freedesktop.org

2024-01-31 Thread Keith Zhao
> -邮件原件- > 发件人: Maxime Ripard > 发送时间: 2023年12月6日 16:56 > 收件人: Keith Zhao > 抄送: devicet...@vger.kernel.org; dri-devel@lists.freedesktop.org; > linux-ker...@vger.kernel.org; linux-ri...@lists.infradead.org; > tzimmerm...@suse.de; airl...@gmail.com; krzysztof.ko

dri-devel@lists.freedesktop.org

2024-01-31 Thread Keith Zhao
> -邮件原件- > 发件人: Maxime Ripard > 发送时间: 2023年12月6日 16:56 > 收件人: Keith Zhao > 抄送: devicet...@vger.kernel.org; dri-devel@lists.freedesktop.org; > linux-ker...@vger.kernel.org; linux-ri...@lists.infradead.org; > tzimmerm...@suse.de; airl...@gmail.com; krzysztof.ko

Re: [v3 5/6] drm/vs: Add hdmi driver

2023-12-12 Thread Keith Zhao
On 2023/12/11 20:13, Andy Yan wrote: > Hi Keith: > > 在 2023-12-11 18:24:35,"Keith Zhao" 写道: >>hi Maxime: >>hi Andy: >> >>On 2023/12/8 17:14, Maxime Ripard wrote: >>> Hi, >>> >>> On Fri, Dec 08, 2023 at 11:23:3

Re: [v3 5/6] drm/vs: Add hdmi driver

2023-12-11 Thread Keith Zhao
hi Maxime: hi Andy: On 2023/12/8 17:14, Maxime Ripard wrote: > Hi, > > On Fri, Dec 08, 2023 at 11:23:37AM +0800, Andy Yan wrote: >> 在 2023-12-08 11:00:31,"Keith Zhao" 写道: >> > >> > >> >On 2023/12/8 8:37, Andy Yan wrote: >> >> Hi Ke

Re: [v3 3/6] drm/vs: Register DRM device

2023-12-11 Thread Keith Zhao
hi Philipp: On 2023/12/4 21:30, Philipp Zabel wrote: > Hi Keith, > > On Mo, 2023-12-04 at 20:33 +0800, Keith Zhao wrote: >> Implement drm device registration interface >> >> Signed-off-by: Keith Zhao >> --- > [...] >> diff --git a/drivers/gpu/drm

Re: [v3 5/6] drm/vs: Add hdmi driver

2023-12-07 Thread Keith Zhao
On 2023/12/8 8:37, Andy Yan wrote: > Hi Keth: > > > > > > > 在 2023-12-07 18:48:13,"Keith Zhao" 写道: >> >> >>On 2023/12/7 17:02, Andy Yan wrote: >>> >>> >>> >>> >>> Hi Keith: >&

dri-devel@lists.freedesktop.org

2023-12-07 Thread Keith Zhao
On 2023/12/7 16:41, Icenowy Zheng wrote: > 在 2023-12-04星期一的 20:33 +0800,Keith Zhao写道: > *snip* > >> +static void update_cursor_plane(struct vs_dc *dc, struct vs_plane >> *plane, >> +   struct drm_plane *drm_plane, >> +

Re: [v3 5/6] drm/vs: Add hdmi driver

2023-12-07 Thread Keith Zhao
On 2023/12/7 17:02, Andy Yan wrote: > > > > > Hi Keith: > > > > > > > > > > > > At 2023-12-06 22:11:33, "Keith Zhao" wrote: >> >> >>On 2023/12/6 20:56, Maxime Ripard wrote: >>> On Wed, Dec 0

Re: [PATCH v1 0/2] Add waveshare 7inch touchscreen panel support

2023-12-06 Thread Keith Zhao
On 2023/12/6 22:56, Dave Stevenson wrote: > Hi Keith > > On Wed, 6 Dec 2023 at 08:55, Keith Zhao wrote: >> >> >> >> On 2023/11/25 0:04, Dave Stevenson wrote: >> > On Fri, 24 Nov 2023 at 15:00, Stefan Wahren wrote: >> >> >> >

Re: [v3 5/6] drm/vs: Add hdmi driver

2023-12-06 Thread Keith Zhao
On 2023/12/6 20:56, Maxime Ripard wrote: > On Wed, Dec 06, 2023 at 08:02:55PM +0800, Keith Zhao wrote: >> >> +static const struct of_device_id starfive_hdmi_dt_ids[] = { >> >> + { .compatible = "starfive,jh7110-inno-hdmi",}, >> > >> > So i

dri-devel@lists.freedesktop.org

2023-12-06 Thread Keith Zhao
On 2023/12/6 16:55, Maxime Ripard wrote: > On Mon, Dec 04, 2023 at 08:33:13PM +0800, Keith Zhao wrote: >> +static const struct vs_plane_info dc_hw_planes_rev0[PLANE_NUM] = { >> +{ >> +.name = "Primary", >> +.id

Re: [v3 5/6] drm/vs: Add hdmi driver

2023-12-06 Thread Keith Zhao
On 2023/12/6 17:04, Maxime Ripard wrote: > On Mon, Dec 04, 2023 at 08:33:14PM +0800, Keith Zhao wrote: >> add hdmi driver as encoder and connect >> >> Signed-off-by: Keith Zhao >> --- >> drivers/gpu/drm/verisilicon/Kconfig | 8 + >> drivers/gp

Re: [PATCH v1 0/2] Add waveshare 7inch touchscreen panel support

2023-12-06 Thread Keith Zhao
On 2023/11/25 0:04, Dave Stevenson wrote: > On Fri, 24 Nov 2023 at 15:00, Stefan Wahren wrote: >> >> Hi Shengyang, >> >> [fix address of Emma] > > Not merged to master yet, but Emma has stepped back from maintenance. > https://lists.freedesktop.org/archives/dri-devel/2023-October/428829.html >

[v3 0/6] DRM driver for verisilicon

2023-12-04 Thread Keith Zhao
djust the calculation mode of hdmi pixclock. - Add match data for dc8200 driver. - Adjust some magic values. - Add a simple encoder for dsi output. Keith Zhao (6): dt-bindings: display: Add yamls for JH7110 display system riscv: dts: starfive: jh7110: display subsystem drm/vs: Register DRM device dr

dri-devel@lists.freedesktop.org

2023-12-04 Thread Keith Zhao
add 2 crtcs and 8 planes in vs-drm Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Makefile |9 +- drivers/gpu/drm/verisilicon/vs_crtc.c | 208 + drivers/gpu/drm/verisilicon/vs_crtc.h | 42 + drivers/gpu/drm/verisilicon/vs_dc.c| 1192

[v3 3/6] drm/vs: Register DRM device

2023-12-04 Thread Keith Zhao
Implement drm device registration interface Signed-off-by: Keith Zhao --- MAINTAINERS | 1 + drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/verisilicon/Kconfig | 13 + drivers/gpu/drm

[v3 5/6] drm/vs: Add hdmi driver

2023-12-04 Thread Keith Zhao
add hdmi driver as encoder and connect Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Kconfig | 8 + drivers/gpu/drm/verisilicon/Makefile| 1 + drivers/gpu/drm/verisilicon/starfive_hdmi.c | 849 drivers/gpu/drm/verisilicon/starfive_hdmi.h

[v3 6/6] drm/vs: simple encoder

2023-12-04 Thread Keith Zhao
add simple encoder for dsi bridge Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Makefile| 4 +- drivers/gpu/drm/verisilicon/vs_drv.c| 2 + drivers/gpu/drm/verisilicon/vs_simple_enc.c | 195 drivers/gpu/drm/verisilicon/vs_simple_enc.h | 23

[v3 1/6] dt-bindings: display: Add yamls for JH7110 display system

2023-12-04 Thread Keith Zhao
StarFive SoCs JH7110 display system: dc controller, hdmi controller, encoder, vout syscon. add the path of yaml file in MAINTAINERS Signed-off-by: Keith Zhao --- .../starfive/starfive,display-subsystem.yaml | 104 .../starfive/starfive,dsi-encoder.yaml| 92

[v3 2/6] riscv: dts: starfive: jh7110: display subsystem

2023-12-04 Thread Keith Zhao
Add the dc controller and hdmi node for the Starfive JH7110 SoC. Signed-off-by: Keith Zhao --- .../jh7110-starfive-visionfive-2.dtsi | 134 ++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 49 +++ 2 files changed, 183 insertions(+) diff --git a/arch/riscv/boot

Re: [PATCH v2 1/6] dt-bindings: display: Add yamls for JH7110 display system

2023-11-28 Thread Keith Zhao
On 2023/10/25 20:50, Krzysztof Kozlowski wrote: > On 25/10/2023 12:39, Keith Zhao wrote: >> StarFive SoCs JH7110 display system: > > A nit, subject: drop second/last, redundant "yamls for". The > "dt-bindings" prefix is already stating that these are bin

dri-devel@lists.freedesktop.org

2023-11-15 Thread Keith Zhao
On 2023/10/25 21:57, Maxime Ripard wrote: > On Wed, Oct 25, 2023 at 06:39:56PM +0800, Keith Zhao wrote: >> +static struct drm_crtc_state * >> +vs_crtc_atomic_duplicate_state(struct drm_crtc *crtc) >> +{ >> +struct vs_crtc_state *ori_state; >>

Re: [PATCH v2 3/6] drm/fourcc: Add drm/vs tiled modifiers

2023-11-15 Thread Keith Zhao
ok, I will do this in my next patch Thanks your advice! On 2023/10/25 23:44, Simon Ser wrote: > it seems like you could start with just simple > enumerated modifiers like Intel does, and then only switch to more > complicated logic with macros and fields if there is an actual need in > the future

dri-devel@lists.freedesktop.org

2023-11-14 Thread Keith Zhao
On 2023/10/26 3:28, Dmitry Baryshkov wrote: > On 25/10/2023 13:39, Keith Zhao wrote: >> add 2 crtcs and 8 planes in vs-drm >> >> Signed-off-by: Keith Zhao >> --- >> drivers/gpu/drm/verisilicon/Makefile |8 +- >> drivers/gpu/drm/verisilicon/vs_c

Re: [PATCH v2 6/6] drm/vs: Add hdmi driver

2023-11-14 Thread Keith Zhao
On 2023/11/13 21:31, Dmitry Baryshkov wrote: > On Mon, 13 Nov 2023 at 14:11, Keith Zhao wrote: >> >> >> >> On 2023/10/26 6:23, Dmitry Baryshkov wrote: >> > On 25/10/2023 13:39, Keith Zhao wrote: >> >> add hdmi driver as encoder a

Re: [PATCH v2 6/6] drm/vs: Add hdmi driver

2023-11-13 Thread Keith Zhao
On 2023/10/26 6:23, Dmitry Baryshkov wrote: > On 25/10/2023 13:39, Keith Zhao wrote: >> add hdmi driver as encoder and connect >> >> Signed-off-by: Keith Zhao >> --- >>   drivers/gpu/drm/verisilicon/Kconfig |   8 +- >>   drivers/gpu/drm/verisilic

dri-devel@lists.freedesktop.org

2023-10-26 Thread Keith Zhao
sorry Dmitry ,accidentally wrote the wrong name Take no offense On 2023/10/26 17:42, Keith Zhao wrote: > hi Ville: > very glad to receive your feedback > Some of them are very good ideas. > Some are not very clear and hope to get your further reply! > > > On 2023/10/2

dri-devel@lists.freedesktop.org

2023-10-26 Thread Keith Zhao
hi Ville: very glad to receive your feedback Some of them are very good ideas. Some are not very clear and hope to get your further reply! On 2023/10/26 3:49, Ville Syrjälä wrote: > On Wed, Oct 25, 2023 at 10:28:56PM +0300, Dmitry Baryshkov wrote: >> On 25/10/2023 13:39, Keith Z

[PATCH v2 2/6] riscv: dts: starfive: jh7110: add dc controller and hdmi node

2023-10-25 Thread Keith Zhao
Add the dc controller and hdmi node for the Starfive JH7110 SoC. Signed-off-by: Keith Zhao --- .../jh7110-starfive-visionfive-2.dtsi | 91 +++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 41 + 2 files changed, 132 insertions(+) diff --git a/arch/riscv/boot

[PATCH v2 3/6] drm/fourcc: Add drm/vs tiled modifiers

2023-10-25 Thread Keith Zhao
For each modifier, add the corresponding description Signed-off-by: Keith Zhao --- include/uapi/drm/drm_fourcc.h | 57 +++ 1 file changed, 57 insertions(+) diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 8db7fd3f7..a580a848c

[PATCH v2 0/6] DRM driver for verisilicon

2023-10-25 Thread Keith Zhao
ng module Keith Zhao (6): dt-bindings: display: Add yamls for JH7110 display system riscv: dts: starfive: jh7110: add dc controller and hdmi node drm/fourcc: Add drm/vs tiled modifiers drm/vs: Register DRM device drm/vs: Add KMS crtc&plane drm/vs: Add hdmi driver .../starfive/sta

[PATCH v2 4/6] drm/vs: Register DRM device

2023-10-25 Thread Keith Zhao
r and it was DRM_GEM_DMA_DRIVER_OPS_WITH_DUMB_CREATE After I adapt this interface, the custom gem logic interfaces can be deleted. It's a big shocking, clap! Signed-off-by: Keith Zhao --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + d

dri-devel@lists.freedesktop.org

2023-10-25 Thread Keith Zhao
add 2 crtcs and 8 planes in vs-drm Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Makefile |8 +- drivers/gpu/drm/verisilicon/vs_crtc.c | 257 drivers/gpu/drm/verisilicon/vs_crtc.h | 43 + drivers/gpu/drm/verisilicon/vs_dc.c| 1002 drivers/gpu/drm

[PATCH v2 1/6] dt-bindings: display: Add yamls for JH7110 display system

2023-10-25 Thread Keith Zhao
previous version, the corresponding arrangement is made Signed-off-by: Keith Zhao --- .../starfive/starfive,display-subsystem.yaml | 41 +++ .../starfive/starfive,jh7110-dc8200.yaml | 109 ++ .../starfive/starfive,jh7110-inno-hdmi.yaml | 85 ++ MAINTAINERS

[PATCH v2 6/6] drm/vs: Add hdmi driver

2023-10-25 Thread Keith Zhao
add hdmi driver as encoder and connect Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Kconfig | 8 +- drivers/gpu/drm/verisilicon/Makefile| 1 + drivers/gpu/drm/verisilicon/starfive_hdmi.c | 949 drivers/gpu/drm/verisilicon/starfive_hdmi.h

[PATCH v1 v1 7/7] drm/vs: Add hdmi

2023-08-01 Thread Keith Zhao
add hdmi driver as encoder and connect Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/starfive_hdmi.c | 940 drivers/gpu/drm/verisilicon/starfive_hdmi.h | 295 ++ 2 files changed, 1235 insertions(+) create mode 100644 drivers/gpu/drm/verisilicon

[PATCH v1 v1 1/7] MAINTAINERS: Update starfive maintainers

2023-08-01 Thread Keith Zhao
update starfive maintainers Signed-off-by: Keith Zhao --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3be1bdfe8..daadd1707 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6760,6 +6760,13 @@ S: Supported T: git git

dri-devel@lists.freedesktop.org

2023-08-01 Thread Keith Zhao
add 2 crtcs and 8 planes in vs-drm Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/vs_crtc.c | 365 + drivers/gpu/drm/verisilicon/vs_crtc.h | 54 + drivers/gpu/drm/verisilicon/vs_dc.c| 1036 drivers/gpu/drm/verisilicon/vs_dc.h| 87 + drivers/gpu/drm

[PATCH v1 v1 4/7] drm/fourcc: Add drm/vs tiled modifiers

2023-08-01 Thread Keith Zhao
These are mainly used internally in vs-drm, I'm not sure if the new modifiers can be used with the existing ones. If there is a problem, I will improve it further. Signed-off-by: Keith Zhao --- include/uapi/drm/drm_fourcc.h | 27 +++ 1 file changed, 27 inser

[PATCH v1 v1 0/7] DRM driver for verisilicon

2023-08-01 Thread Keith Zhao
the hdmi driver code Keith Zhao (7): MAINTAINERS: Update starfive maintainers dt-bindings: display: Add yamls for JH7110 display system riscv: dts: starfive: jh7110: add dc controller and hdmi node drm/fourcc: Add drm/vs tiled modifiers drm/vs: Register DRM device drm/vs: Add KMS crtc&am

[PATCH v1 v1 3/7] riscv: dts: starfive: jh7110: add dc controller and hdmi node

2023-08-01 Thread Keith Zhao
Add the dc controller and hdmi node for the Starfive JH7110 SoC. Signed-off-by: Keith Zhao --- .../jh7110-starfive-visionfive-2.dtsi | 87 +++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 43 + 2 files changed, 130 insertions(+) diff --git a/arch/riscv/boot

[PATCH v1 v1 2/7] dt-bindings: display: Add yamls for JH7110 display system

2023-08-01 Thread Keith Zhao
StarFive SoCs JH7110 display system: lcd-controller bases verisilicon dc8200 IP, and hdmi bases Innosilicon IP. Add bindings for them. Signed-off-by: Keith Zhao --- .../starfive/starfive,display-subsystem.yaml | 41 +++ .../starfive/starfive,jh7110-dc8200.yaml | 107

[PATCH v1 v1 5/7] drm/vs: Register DRM device

2023-08-01 Thread Keith Zhao
Implement drm device registration interface Signed-off-by: Keith Zhao --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/verisilicon/Kconfig | 25 ++ drivers/gpu/drm/verisilicon/Makefile | 13 + drivers/gpu/drm

Re: [PATCH 3/9] drm/verisilicon: Add basic drm driver

2023-07-25 Thread Keith Zhao
On 2023/7/25 11:12, Keith Zhao wrote: > > > On 2023/6/7 16:53, Lucas Stach wrote: >> Hi Keith, >> >> Am Freitag, dem 02.06.2023 um 15:40 +0800 schrieb Keith Zhao: >>> Add a basic platform driver of the DRM driver for JH7110 SoC. >>> >>&g

Re: [PATCH 3/9] drm/verisilicon: Add basic drm driver

2023-07-24 Thread Keith Zhao
On 2023/6/7 16:53, Lucas Stach wrote: > Hi Keith, > > Am Freitag, dem 02.06.2023 um 15:40 +0800 schrieb Keith Zhao: >> Add a basic platform driver of the DRM driver for JH7110 SoC. >> >> Signed-off-by: Keith Zhao >> --- >> MAINTAINERS

Re: [PATCH 6/9] drm/verisilicon: Add drm crtc funcs

2023-07-21 Thread Keith Zhao
On 2023/6/30 19:55, Thomas Zimmermann wrote: > Hi > > Am 02.06.23 um 09:40 schrieb Keith Zhao: >> Add crtc driver which implements crtc related operation functions. >> >> Signed-off-by: Keith Zhao >> --- >>   drivers/gpu/drm/verisilicon/Makefile  |

Re: [PATCH 5/9] drm/verisilicon: Add mode config funcs

2023-07-21 Thread Keith Zhao
On 2023/6/21 19:04, Thomas Zimmermann wrote: > Hi Keith > > Am 02.06.23 um 09:40 schrieb Keith Zhao: >> Add mode setting functions for JH7110 SoC. >> >> Signed-off-by: Keith Zhao >> --- >>   drivers/gpu/drm/verisilicon/Makefile |   1 + >>

Re: [PATCH 4/9] drm/verisilicon: Add gem driver for JH7110 SoC

2023-07-20 Thread Keith Zhao
On 2023/6/19 21:18, Thomas Zimmermann wrote: > > > Am 02.06.23 um 09:40 schrieb Keith Zhao: >> This patch implements gem related APIs for JH7100 SoC. >> >> Signed-off-by: Keith Zhao >> --- >>   drivers/gpu/drm/verisilicon/Makefile |   3 +- >>

Re: [PATCH 7/9] drm/verisilicon: Add drm plane funcs

2023-07-10 Thread Keith Zhao
On 2023/7/11 0:46, Shengyu Qu wrote: > Hello Keith, >> + >> +static void vs_plane_atomic_update(struct drm_plane *plane, >> +   struct drm_atomic_state *state) >> +{ >> +    struct drm_plane_state *new_state = >&g

Re: [PATCH 3/9] drm/verisilicon: Add basic drm driver

2023-07-03 Thread Keith Zhao
On 2023/7/4 2:42, Shengyu Qu wrote: > Hello Keith, > > While compiling this driver as a module, a error happens: > > drivers/gpu/drm/verisilicon/vs_drm: struct of_device_id is 200 bytes.  The > last of 1 is: > 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0

Re: [PATCH 9/9] drm/verisilicon: Add starfive hdmi driver

2023-06-25 Thread Keith Zhao
ble" instead of "starfive_hdmi_encoder_mode_set" resolve the problem i will add this modify in my next patch Thank you Hoegeun On 2023/6/23 10:38, Hoegeun Kwon wrote: > Hi Keith, > > There is a problem with stopping when changing modes. > > Below test log > >

Re: [PATCH 1/9] dt-bindings: display: Add yamls for JH7110 display subsystem

2023-06-07 Thread Keith Zhao
On 2023/6/7 14:41, Maxime Ripard wrote: > On Tue, Jun 06, 2023 at 11:37:53PM +0100, Conor Dooley wrote: >> On Wed, Jun 07, 2023 at 12:22:33AM +0200, Heiko Stübner wrote: >> > Am Dienstag, 6. Juni 2023, 20:41:17 CEST schrieb Shengyu Qu: >> > > > On Fri, Jun 02

[PATCH 2/9] riscv: dts: starfive: jh7110: add dc&hdmi controller node

2023-06-02 Thread Keith Zhao
Add the dc controller and hdmi node for the Starfive JH7110 SoC. Signed-off-by: Keith Zhao --- .../jh7110-starfive-visionfive-2.dtsi | 87 +++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 46 ++ 2 files changed, 133 insertions(+) diff --git a/arch/riscv/boot

[PATCH 8/9] drm/verisilicon: Add verisilicon dc controller driver

2023-06-02 Thread Keith Zhao
Add DC8200 display controller driver for StarFive JH7110 SoC. Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Makefile |4 +- drivers/gpu/drm/verisilicon/vs_dc.c| 1040 drivers/gpu/drm/verisilicon/vs_dc.h| 62 + drivers/gpu/drm/verisilicon/vs_dc_hw.c

[PATCH 9/9] drm/verisilicon: Add starfive hdmi driver

2023-06-02 Thread Keith Zhao
Add HDMI dirver for StarFive SoC JH7110. Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Kconfig | 11 + drivers/gpu/drm/verisilicon/Makefile| 1 + drivers/gpu/drm/verisilicon/starfive_hdmi.c | 928 drivers/gpu/drm/verisilicon/starfive_hdmi.h

[PATCH 5/9] drm/verisilicon: Add mode config funcs

2023-06-02 Thread Keith Zhao
Add mode setting functions for JH7110 SoC. Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Makefile | 1 + drivers/gpu/drm/verisilicon/vs_drv.c | 3 + drivers/gpu/drm/verisilicon/vs_fb.c | 181 +++ drivers/gpu/drm/verisilicon/vs_fb.h | 15 +++ 4 files

[PATCH 1/9] dt-bindings: display: Add yamls for JH7110 display subsystem

2023-06-02 Thread Keith Zhao
Add bindings for JH7110 display subsystem which has a display controller verisilicon dc8200 and an HDMI interface. Signed-off-by: Keith Zhao --- .../display/verisilicon/starfive-hdmi.yaml| 93 +++ .../display/verisilicon/verisilicon-dc.yaml | 110

[PATCH 3/9] drm/verisilicon: Add basic drm driver

2023-06-02 Thread Keith Zhao
Add a basic platform driver of the DRM driver for JH7110 SoC. Signed-off-by: Keith Zhao --- MAINTAINERS | 2 + drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/verisilicon/Kconfig | 13 ++ drivers/gpu/drm

[PATCH 0/9] Add DRM driver for StarFive SoC JH7110

2023-06-02 Thread Keith Zhao
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

[PATCH 7/9] drm/verisilicon: Add drm plane funcs

2023-06-02 Thread Keith Zhao
Implement plane functions for the DRM driver. Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Makefile | 3 +- drivers/gpu/drm/verisilicon/vs_plane.c | 440 + drivers/gpu/drm/verisilicon/vs_plane.h | 74 + 3 files changed, 516 insertions(+), 1 deletion

[PATCH 4/9] drm/verisilicon: Add gem driver for JH7110 SoC

2023-06-02 Thread Keith Zhao
This patch implements gem related APIs for JH7100 SoC. Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/Makefile | 3 +- drivers/gpu/drm/verisilicon/vs_drv.c | 6 + drivers/gpu/drm/verisilicon/vs_gem.c | 372 +++ drivers/gpu/drm/verisilicon/vs_gem.h | 72

  1   2   3   4   5   6   7   8   9   10   >