Skip to contentSkip to conversation

drm/verisilicon: add StarFive PCIe-attached DC8000 driver

PATCH In review shanlong.li 2 participants 6 messages Oct 30 – Nov 20

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/verisilicon: add StarFive PCIe-attached DC8000 driver

From: Shanlong Li <[email protected]>

StarFive BMC SoCs contain a Verisilicon DC8000 display controller which is exposed to the host over PCIe, much like the VGA of ASPEED BMCs. The host owns the display pipeline (primary, overlay and cursor planes, CRTC, gamma), scans out of the PCIe memory BAR of the device and relays EDID, hotplug, mode and pixel clock requests to the BMC firmware through a mailbox located in the CSR BAR.

The DC8000 and the two-pipeline DC8200 served by the existing verisilicon-dc platform driver share a common register layout, but the PCIe variant needs a different GEM backend (VRAM/TTM instead of GEM DMA), a BMC-backed virtual connector instead of OF graph bridges and a different plane set with scaling, blending, gamma and de-gamma. Keep the two front ends separate: the SoC platform driver stays where it is and the PCIe driver goes into a new pci sub-directory. Each is selectable through its own Kconfig symbol, so a kernel can be built for either or both platforms, and the two drivers do not share any global symbol so they can also both be built in.

---
 MAINTAINERS                                  |    7 +
 drivers/gpu/drm/Makefile                     |    1 +
 drivers/gpu/drm/verisilicon/Kconfig          |    2 +
 drivers/gpu/drm/verisilicon/Makefile         |    2 +
 drivers/gpu/drm/verisilicon/pci/Kconfig      |   30 +
 drivers/gpu/drm/verisilicon/pci/Makefile     |    6 +
 drivers/gpu/drm/verisilicon/pci/vs_crtc.c    |  393 +++++
 drivers/gpu/drm/verisilicon/pci/vs_crtc.h    |   65 +
 drivers/gpu/drm/verisilicon/pci/vs_dc.c      |  895 +++++++++++
 drivers/gpu/drm/verisilicon/pci/vs_dc.h      |  138 ++
 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c   | 1502 ++++++++++++++++++
 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h   |  426 +++++
 drivers/gpu/drm/verisilicon/pci/vs_drv.c     |  264 +++
 drivers/gpu/drm/verisilicon/pci/vs_drv.h     |   79 +
 drivers/gpu/drm/verisilicon/pci/vs_plane.c   |  379 +++++
 drivers/gpu/drm/verisilicon/pci/vs_plane.h   |   62 +
 drivers/gpu/drm/verisilicon/pci/vs_type.h    |   70 +
 drivers/gpu/drm/verisilicon/pci/vs_virtual.c |  531 +++++++
 drivers/gpu/drm/verisilicon/pci/vs_virtual.h |   47 +
 19 files changed, 4899 insertions(+)
 create mode 100644 drivers/gpu/drm/verisilicon/pci/Kconfig
 create mode 100644 drivers/gpu/drm/verisilicon/pci/Makefile
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.c
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.h
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.c
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.h
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.c
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.h
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.c
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.h
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_type.h
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.c
 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.h
MAINTAINERS +7 -0
index 782389bd5cd3..4a1b5b211bf9 100644
@@ -8568,6 +8568,13 @@ T:	git https://gitlab.freedesktop.org/drm/misc/kernel.git
 F:	Documentation/devicetree/bindings/display/ste,mcde.yaml
 F:	drivers/gpu/drm/mcde/
 
+DRM DRIVER FOR STARFIVE PCIE ATTACHED VERISILICON DC8000
+M:	Shanlong Li <[email protected]>
+L:	[email protected]
+S:	Maintained
+T:	git https://gitlab.freedesktop.org/drm/misc/kernel.git
+F:	drivers/gpu/drm/verisilicon/pci/
+
 DRM DRIVER FOR SYNAPTICS R63353 PANELS
 M:	Michael Trimarchi <[email protected]>
 S:	Maintained
drivers/gpu/drm/Makefile +1 -0
index e635fcffd379..28d251a62067 100644
@@ -238,6 +238,7 @@ obj-$(CONFIG_DRM_SPRD) += sprd/
 obj-$(CONFIG_DRM_LOONGSON) += loongson/
 obj-$(CONFIG_DRM_POWERVR) += imagination/
 obj-$(CONFIG_DRM_VERISILICON_DC) += verisilicon/
+obj-$(CONFIG_DRM_VERISILICON_DC8000_PCI) += verisilicon/
 
 # Ensure drm headers are self-contained and pass kernel-doc
 hdrtest-files := \
drivers/gpu/drm/verisilicon/Kconfig +2 -0
index 7cce86ec8603..1af4932fc72a 100644
@@ -14,3 +14,5 @@ config DRM_VERISILICON_DC
 	  Choose this option if you have a SoC with Verisilicon DC-series
 	  display controllers. If M is selected, the module will be called
 	  verisilicon-dc.
+
+source "drivers/gpu/drm/verisilicon/pci/Kconfig"
drivers/gpu/drm/verisilicon/Makefile +2 -0
index 426f4bcaa834..f7b6821a6e66 100644
@@ -4,3 +4,5 @@ verisilicon-dc-objs := vs_bridge.o vs_crtc.o vs_dc.o vs_drm.o vs_hwdb.o \
 	vs_plane.o vs_primary_plane.o vs_cursor_plane.o
 
 obj-$(CONFIG_DRM_VERISILICON_DC) += verisilicon-dc.o
+
+obj-y += pci/
drivers/gpu/drm/verisilicon/pci/Kconfig new file +30 -0
new file mode 100644
index 000000000000..00f6e0f25dba
@@ -0,0 +1,30 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# PCI front ends for Verisilicon display controllers
+#
+
+config DRM_VERISILICON_DC8000_PCI
+	tristate "DRM support for StarFive PCIe attached Verisilicon DC8000"
+	depends on DRM && PCI
+	select DRM_CLIENT_SELECTION
+	select DRM_KMS_HELPER
+	select DRM_TTM
+	select DRM_TTM_HELPER
+	select DRM_VRAM_HELPER
+	help
+	  Choose this option if you have a StarFive BMC SoC whose Verisilicon
+	  DC8000 display controller is exposed to the host over PCIe. The host
+	  owns the display pipeline, the frame buffer lives in the PCIe memory
+	  BAR of the device and EDID, mode and pixel clock requests are relayed
+	  to the BMC firmware through a mailbox in the CSR BAR.
+
+	  If M is selected, the module will be called verisilicon-dc8000-pci.
+
+config DRM_VERISILICON_DC8000_VCE
+	bool "Forward frame buffer information to the BMC video capture engine"
+	depends on DRM_VERISILICON_DC8000_PCI
+	help
+	  Periodically send the geometry, format and location of the current
+	  primary plane frame buffer to the BMC video capture engine (VCE) so
+	  the BMC can encode the host screen for remote KVM. Only XRGB8888,
+	  NV12 and NV16 frame buffers are exposed when this is enabled.
drivers/gpu/drm/verisilicon/pci/Makefile new file +6 -0
new file mode 100644
index 000000000000..b765951233c9
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+verisilicon-dc8000-pci-y := vs_crtc.o vs_dc.o vs_dc_hw.o vs_drv.o vs_plane.o \
+			    vs_virtual.o
+
+obj-$(CONFIG_DRM_VERISILICON_DC8000_PCI) += verisilicon-dc8000-pci.o
drivers/gpu/drm/verisilicon/pci/vs_crtc.c new file +393 -0

393 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_crtc.h new file +65 -0

65 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_dc.c new file +895 -0

895 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_dc.h new file +138 -0

138 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c new file +1502 -0

1,443 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h new file +426 -0

426 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_drv.c new file +264 -0

264 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_drv.h new file +79 -0

79 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_plane.c new file +379 -0

379 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_plane.h new file +62 -0

62 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_type.h new file +70 -0

70 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_virtual.c new file +531 -0

531 lines not on this page · raw message

drivers/gpu/drm/verisilicon/pci/vs_virtual.h new file +47 -0

47 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.34.1

Part of the diff is not shown here. View the raw message.

maintainer
#1 lore raw
Quoted 3 lines · 在 2026-10-30五的 14:15 +0800,shanlong.li写道:

From: Shanlong Li <[email protected]>

StarFive BMC SoCs contain a Verisilicon DC8000 display controller

So you really downgraded from DC8200 to DC8000 in a new SoC?

BTW DC8000 support is being done by Joey Lu, in the form of MA35D1 DCUltraLite support (it has the same register layout and basic functionality as the DC8000 controller I seen on Eswin EIC7700).

Quoted 10 lines

which
is exposed to the host over PCIe, much like the VGA of ASPEED BMCs. The
host owns the display pipeline (primary, overlay and cursor planes, CRTC, gamma), scans out of the PCIe memory BAR of the device and relays
EDID, hotplug, mode and pixel clock requests to the BMC firmware through
a mailbox located in the CSR BAR.

Quoted 4 lines

The DC8000 and the two-pipeline DC8200 served by the existing verisilicon-dc platform driver share a common register layout, but the
PCIe variant needs a different GEM backend (VRAM/TTM instead of GEM

Adding a PCIe glue for dedicated IP cores is always a challenge in drivers/gpu/drm.

It might be interesting to thinking of different practices, although creating yet another DRM driver with another GEM backend seems to be a choice.

Quoted 1 line

DMA), a BMC-backed virtual connector instead of OF graph bridges and

I wonder whether DRM bridge facility could be used inside a PCI device -- one of the DRM drivers with me as a reviewer (drm/loongson) suffers from a similar (but more severe) problem. On that device, the DRM driver should enumerate external I2C-controller bridges via its DDC bus from the information of their proprietary VBIOS.

However, even in a worst situation, it would be just a new vs_bridge.c variant combining the output programming logic of the DC and on-chip display bridges into one source file.

Quoted 34 lines

a
different plane set with scaling, blending, gamma and de-gamma. Keep the
two front ends separate: the SoC platform driver stays where it is and
the PCIe driver goes into a new pci sub-directory. Each is selectable through its own Kconfig symbol, so a kernel can be built for
either or both platforms, and the two drivers do not share any global symbol so they can also both be built in.

---
 MAINTAINERS                                  |    7 + drivers/gpu/drm/Makefile                     |    1 + drivers/gpu/drm/verisilicon/Kconfig          |    2 + drivers/gpu/drm/verisilicon/Makefile         |    2 + drivers/gpu/drm/verisilicon/pci/Kconfig      |   30 + drivers/gpu/drm/verisilicon/pci/Makefile     |    6 + drivers/gpu/drm/verisilicon/pci/vs_crtc.c    |  393 +++++ drivers/gpu/drm/verisilicon/pci/vs_crtc.h    |   65 + drivers/gpu/drm/verisilicon/pci/vs_dc.c      |  895 +++++++++++ drivers/gpu/drm/verisilicon/pci/vs_dc.h      |  138 ++ drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c   | 1502
++++++++++++++++++
 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h   |  426 +++++ drivers/gpu/drm/verisilicon/pci/vs_drv.c     |  264 +++ drivers/gpu/drm/verisilicon/pci/vs_drv.h     |   79 + drivers/gpu/drm/verisilicon/pci/vs_plane.c   |  379 +++++ drivers/gpu/drm/verisilicon/pci/vs_plane.h   |   62 + drivers/gpu/drm/verisilicon/pci/vs_type.h    |   70 + drivers/gpu/drm/verisilicon/pci/vs_virtual.c |  531 +++++++ drivers/gpu/drm/verisilicon/pci/vs_virtual.h |   47 +

 19 files changed, 4899 insertions(+)
Quoted 8 lines

 create mode 100644 drivers/gpu/drm/verisilicon/pci/Kconfig create mode 100644 drivers/gpu/drm/verisilicon/pci/Makefile create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h

Anyway, it looks that you're just adding a dedicated driver without reusing the current code, and your driver even contains the badly written, magic number flooded code from Verisilicon.

Don't forget that your former workmate, Keith Zhao, worked for months on this bad driver and still failed to get it upstreamed.

NAK on this.

Thanks,
Icenowy

Quoted 7 lines

 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_type.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.h

#2 lore raw
Quoted 13 lines

-----邮件原件-----
发件人: Icenowy Zheng <[email protected]>
发送时间: 2026年10月30日 15:11
收件人: Shanlong Li <[email protected]>; Maarten Lankhorst <[email protected]>; Maxime Ripard <[email protected]>; Thomas Zimmermann <[email protected]>
抄送: David Airlie <[email protected]>; Simona Vetter <[email protected]>; [email protected]; Mason Huo <[email protected]>; Changhuang Liang <[email protected]>
主题: Re: [PATCH v1] drm/verisilicon: add StarFive PCIe-attached DC8000 driver

Quoted 6 lines
Quoted 3 lines · 在 2026-10-30五的 14:15 +0800,shanlong.li写道:

From: Shanlong Li <[email protected]>

StarFive BMC SoCs contain a Verisilicon DC8000 display controller

So you really downgraded from DC8200 to DC8000 in a new SoC?

Yes. This is a BMC SoC it only needs one output for the host console / remote KVM and a single-pipeline DC8000 was chosen instead of the DC8200.

Quoted 4 lines

BTW DC8000 support is being done by Joey Lu, in the form of MA35D1 DCUltraLite support (it has the same register layout and basic functionality as the DC8000 controller I seen on Eswin EIC7700).

Thanks for the pointer, I was not aware of that series. So I need rebase
on top of it instead of carrying my own DC8000 register code?
If that's the case, where can I view his current submission? I will adapt my DC driver based on his modifications. BTW i need to wait until his upstream work is completed before I can submit my next version?

Quoted 19 lines
Quoted 9 lines

which
is exposed to the host over PCIe, much like the VGA of ASPEED BMCs. The
host owns the display pipeline (primary, overlay and cursor planes, CRTC, gamma), scans out of the PCIe memory BAR of the device and relays EDID, hotplug, mode and pixel clock requests to the BMC firmware through a mailbox located in the CSR BAR.

Quoted 3 lines

The DC8000 and the two-pipeline DC8200 served by the existing verisilicon-dc platform driver share a common register layout, but the PCIe variant needs a different GEM backend (VRAM/TTM instead of GEM

Adding a PCIe glue for dedicated IP cores is always a challenge in drivers/gpu/drm.

It might be interesting to thinking of different practices, although creating yet another DRM driver with another GEM backend seems to be a choice.

Quoted 8 lines
Quoted 1 line

DMA), a BMC-backed virtual connector instead of OF graph bridges and

I wonder whether DRM bridge facility could be used inside a PCI device -- one of the DRM drivers with me as a reviewer (drm/loongson) suffers from a similar (but more severe) problem. On that device, the DRM driver should enumerate external I2C-controller bridges via its DDC bus from the information of their proprietary VBIOS.

Yes, I think it fits, the OF graph is only how vs_bridge.c discovers its next bridge. On the PCI device the topology is fixed, so the PCI front end can hand vs_bridge_init() the downstream bridge directly.
Our case is simpler than the drm/loongson one you describe: there is no external I2C transmitter to discover, the firmware behind the mailbox is
the only "bridge", so no VBIOS or I2C enumeration is needed.

Quoted 44 lines

However, even in a worst situation, it would be just a new vs_bridge.c variant combining the output programming logic of the DC and on-chip display bridges into one source file.

Quoted 31 lines

a
different plane set with scaling, blending, gamma and de-gamma. Keep the two front ends separate: the SoC platform driver stays where it is and the PCIe driver goes into a new pci sub-directory. Each is selectable through its own Kconfig symbol, so a kernel can be built for either or both platforms, and the two drivers do not share any global symbol so they can also both be built in.

---
 MAINTAINERS                                  |    7 + drivers/gpu/drm/Makefile                     |    1 + drivers/gpu/drm/verisilicon/Kconfig          |    2 + drivers/gpu/drm/verisilicon/Makefile         |    2 + drivers/gpu/drm/verisilicon/pci/Kconfig      |   30 + drivers/gpu/drm/verisilicon/pci/Makefile     |    6 + drivers/gpu/drm/verisilicon/pci/vs_crtc.c    |  393 +++++ drivers/gpu/drm/verisilicon/pci/vs_crtc.h    |   65 + drivers/gpu/drm/verisilicon/pci/vs_dc.c      |  895 +++++++++++ drivers/gpu/drm/verisilicon/pci/vs_dc.h      |  138 ++ drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c   | 1502
++++++++++++++++++
 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h   |  426 +++++ drivers/gpu/drm/verisilicon/pci/vs_drv.c     |  264 +++ drivers/gpu/drm/verisilicon/pci/vs_drv.h     |   79 + drivers/gpu/drm/verisilicon/pci/vs_plane.c   |  379 +++++ drivers/gpu/drm/verisilicon/pci/vs_plane.h   |   62 + drivers/gpu/drm/verisilicon/pci/vs_type.h    |   70 + drivers/gpu/drm/verisilicon/pci/vs_virtual.c |  531 +++++++ drivers/gpu/drm/verisilicon/pci/vs_virtual.h |   47 +

 19 files changed, 4899 insertions(+)
Quoted 8 lines

 create mode 100644 drivers/gpu/drm/verisilicon/pci/Kconfig create mode 100644 drivers/gpu/drm/verisilicon/pci/Makefile create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h

Quoted 3 lines

Anyway, it looks that you're just adding a dedicated driver without reusing the current code, and your driver even contains the badly written, magic number flooded code from Verisilicon.

Yes, it derived from the vendor code, May I ask which specific "magic number" are, Is it something like the " horKernel[]" ?
I will make adjustments based on joye hu's revisions. Maybe Try to provide an explanation, Or drop it

Quoted 16 lines

Don't forget that your former workmate, Keith Zhao, worked for months on this bad driver and still failed to get it upstreamed.

NAK on this.

Thanks,
Icenowy

Quoted 7 lines

 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_type.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.h

Thanks,
Shanlong.li

maintainer
#3 lore raw
Quoted 75 lines · 在 2026-11-10二的 10:04 +0000,Shanlong Li写道:
Quoted 17 lines

-----邮件原件-----
发件人: Icenowy Zheng <[email protected]>
发送时间: 2026年10月30日 15:11
收件人: Shanlong Li <[email protected]>; Maarten Lankhorst <[email protected]>; Maxime Ripard <[email protected]>;
Thomas Zimmermann <[email protected]>
抄送: David Airlie <[email protected]>; Simona Vetter <[email protected]>;
[email protected]; Mason Huo <[email protected]>;
Changhuang Liang <[email protected]> 主题: Re: [PATCH v1] drm/verisilicon: add StarFive PCIe-attached DC8000 driver

Quoted 6 lines
Quoted 3 lines · 在 2026-10-30五的 14:15 +0800,shanlong.li写道:

From: Shanlong Li <[email protected]>

StarFive BMC SoCs contain a Verisilicon DC8000 display controller

So you really downgraded from DC8200 to DC8000 in a new SoC?

Yes. This is a BMC SoC it only needs one output for the host console / remote
KVM and a single-pipeline DC8000 was chosen instead of the DC8200.

Quoted 5 lines

BTW DC8000 support is being done by Joey Lu, in the form of MA35D1 DCUltraLite support (it has the same register layout and basic functionality as
the DC8000 controller I seen on Eswin EIC7700).

Thanks for the pointer, I was not aware of that series. So I need rebase
on top of it instead of carrying my own DC8000 register code? If that's the case, where can I view his current submission? I will adapt my DC driver based on his modifications.
BTW i need to wait until his upstream work is completed before I can submit my next version?

Quoted 27 lines
Quoted 11 lines

which
is exposed to the host over PCIe, much like the VGA of ASPEED BMCs.
The
host owns the display pipeline (primary, overlay and cursor planes,
CRTC, gamma), scans out of the PCIe memory BAR of the device and relays EDID, hotplug, mode and pixel clock requests to the BMC firmware through a mailbox located in the CSR BAR.

Quoted 5 lines

The DC8000 and the two-pipeline DC8200 served by the existing verisilicon-dc platform driver share a common register layout, but the
PCIe variant needs a different GEM backend (VRAM/TTM instead of GEM

Adding a PCIe glue for dedicated IP cores is always a challenge in drivers/gpu/drm.

It might be interesting to thinking of different practices, although creating yet
another DRM driver with another GEM backend seems to be a choice.

Quoted 2 lines

DMA), a BMC-backed virtual connector instead of OF graph bridges and

Quoted 10 lines

I wonder whether DRM bridge facility could be used inside a PCI device
-- one of the DRM drivers with me as a reviewer (drm/loongson) suffers from a
similar (but more severe) problem. On that device, the DRM driver should
enumerate external I2C-controller bridges via its DDC bus from the information
of their proprietary VBIOS.

Quoted 10 lines

Yes, I think it fits, the OF graph is only how vs_bridge.c discovers its next bridge.
On the PCI device the topology is fixed, so the PCI front end can hand vs_bridge_init() the
downstream bridge directly.
Our case is simpler than the drm/loongson one you describe: there is no
external I2C transmitter to discover, the firmware behind the mailbox is
the only "bridge", so no VBIOS or I2C enumeration is needed.

BTW I wonder how the "virtual connector" thing coexist with a real display connector.

What output interface is configured by this driver? DPI/DP (DP is a bus type called by Verisilicon, not related to DisplayPort) or a writeback to memory?

The VCE thing looks quite confusing, it seems to be only sending the main plane instead of fully composited display content (with multiple planes)? Have you checked that hardware overlay / cursor is working with it?

In addition, I wonder whether the connector should be advertised as a DisplayPort one instead of a Virtual one. On my PC with AST2500, the display connector is advertised as a VGA one (even when I didn't plug in any VGA cable because I added an extra graphics card for desktop usage).

Quoted 51 lines
Quoted 51 lines

However, even in a worst situation, it would be just a new vs_bridge.c variant
combining the output programming logic of the DC and on-chip display bridges
into one source file.

Quoted 43 lines

a
different plane set with scaling, blending, gamma and de-gamma. Keep
the two front ends separate: the SoC platform driver stays where it is
and the PCIe driver goes into a new pci sub-directory. Each is selectable through its own Kconfig symbol, so a kernel can be built
for either or both platforms, and the two drivers do not share any
global symbol so they can also both be built in.

---
 MAINTAINERS                                  |    7 + drivers/gpu/drm/Makefile                     |    1 + drivers/gpu/drm/verisilicon/Kconfig          |    2 + drivers/gpu/drm/verisilicon/Makefile         |    2 + drivers/gpu/drm/verisilicon/pci/Kconfig      |   30 + drivers/gpu/drm/verisilicon/pci/Makefile     |    6 + drivers/gpu/drm/verisilicon/pci/vs_crtc.c    |  393 +++++ drivers/gpu/drm/verisilicon/pci/vs_crtc.h    |   65 + drivers/gpu/drm/verisilicon/pci/vs_dc.c      |  895 +++++++++++ drivers/gpu/drm/verisilicon/pci/vs_dc.h      |  138 ++ drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c   | 1502
++++++++++++++++++
 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h   |  426 +++++ drivers/gpu/drm/verisilicon/pci/vs_drv.c     |  264 +++ drivers/gpu/drm/verisilicon/pci/vs_drv.h     |   79 + drivers/gpu/drm/verisilicon/pci/vs_plane.c   |  379 +++++ drivers/gpu/drm/verisilicon/pci/vs_plane.h   |   62 + drivers/gpu/drm/verisilicon/pci/vs_type.h    |   70 + drivers/gpu/drm/verisilicon/pci/vs_virtual.c |  531 +++++++ drivers/gpu/drm/verisilicon/pci/vs_virtual.h |   47 +

 19 files changed, 4899 insertions(+)

 create mode 100644 drivers/gpu/drm/verisilicon/pci/Kconfig create mode 100644 drivers/gpu/drm/verisilicon/pci/Makefile create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h

Quoted 8 lines
Quoted 5 lines

Anyway, it looks that you're just adding a dedicated driver without reusing the
current code, and your driver even contains the badly written, magic number
flooded code from Verisilicon.

Yes, it derived from the vendor code, May I ask which specific "magic number" are,
Is it something like the " horKernel[]" ?

Nearly every register field isn't documented in the vendor code. Things like horKernel isn't so bad, but the register fields are bad.

And even if this copy of code is properly written, it's still code duplication unwanted by the mainline Linux.

Thanks,
Icenowy

Quoted 23 lines

I will make adjustments based on joye hu's revisions.  Maybe Try to provide an explanation,
Or drop it

Quoted 17 lines

Don't forget that your former workmate, Keith Zhao, worked for months on this
bad driver and still failed to get it upstreamed.

NAK on this.

Thanks,
Icenowy

Quoted 7 lines

 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_type.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.h

Thanks,
Shanlong.li

#4 lore raw

reply: [PATCH v1] drm/verisilicon: add StarFive PCIe-attached DC8000 driver

Quoted 89 lines

-----邮件原件-----
发件人: Icenowy Zheng <[email protected]>
发送时间: 2026年11月10日 18:26
收件人: Shanlong Li <[email protected]>; Maarten Lankhorst <[email protected]>; Maxime Ripard <[email protected]>; Thomas Zimmermann <[email protected]>
抄送: David Airlie <[email protected]>; Simona Vetter <[email protected]>; [email protected]
主题: Re: 回复: [PATCH v1] drm/verisilicon: add StarFive PCIe-attached DC8000 driver

Quoted 66 lines · 在 2026-11-10二的 10:04 +0000,Shanlong Li写道:
Quoted 15 lines

-----邮件原件-----
发件人: Icenowy Zheng <[email protected]>
发送时间: 2026年10月30日 15:11
收件人: Shanlong Li <[email protected]>; Maarten Lankhorst <[email protected]>; Maxime Ripard <[email protected]>; Thomas Zimmermann <[email protected]> 抄送: David Airlie <[email protected]>; Simona Vetter <[email protected]>; [email protected]; Mason Huo <[email protected]>; Changhuang Liang <[email protected]>
主题: Re: [PATCH v1] drm/verisilicon: add StarFive PCIe-attached DC8000 driver

Quoted 6 lines
Quoted 3 lines · 在 2026-10-30五的 14:15 +0800,shanlong.li写道:

From: Shanlong Li <[email protected]>

StarFive BMC SoCs contain a Verisilicon DC8000 display controller

So you really downgraded from DC8200 to DC8000 in a new SoC?

Yes. This is a BMC SoC it only needs one output for the host console / remote KVM and a single-pipeline DC8000 was chosen instead of the DC8200.

Quoted 4 lines

BTW DC8000 support is being done by Joey Lu, in the form of MA35D1 DCUltraLite support (it has the same register layout and basic functionality as the DC8000 controller I seen on Eswin EIC7700).

Thanks for the pointer, I was not aware of that series. So I need rebase on top of it instead of carrying my own DC8000 register code? If that's the case, where can I view his current submission? I will adapt my DC driver based on his modifications.
BTW i need to wait until his upstream work is completed before I can submit my next version?

Quoted 25 lines
Quoted 10 lines

which
is exposed to the host over PCIe, much like the VGA of ASPEED BMCs.
The
host owns the display pipeline (primary, overlay and cursor planes, CRTC, gamma), scans out of the PCIe memory BAR of the device and relays EDID, hotplug, mode and pixel clock requests to the BMC firmware through a mailbox located in the CSR BAR.

Quoted 4 lines

The DC8000 and the two-pipeline DC8200 served by the existing verisilicon-dc platform driver share a common register layout, but the PCIe variant needs a different GEM backend (VRAM/TTM instead of GEM

Adding a PCIe glue for dedicated IP cores is always a challenge in drivers/gpu/drm.

It might be interesting to thinking of different practices, although creating yet another DRM driver with another GEM backend seems to be a choice.

Quoted 2 lines

DMA), a BMC-backed virtual connector instead of OF graph bridges and

Quoted 7 lines

I wonder whether DRM bridge facility could be used inside a PCI device
-- one of the DRM drivers with me as a reviewer (drm/loongson) suffers from a similar (but more severe) problem. On that device, the DRM driver should enumerate external I2C-controller bridges via its DDC bus from the information of their proprietary VBIOS.

Quoted 8 lines

Yes, I think it fits, the OF graph is only how vs_bridge.c discovers its next bridge.
On the PCI device the topology is fixed, so the PCI front end can hand vs_bridge_init() the downstream bridge directly.
Our case is simpler than the drm/loongson one you describe: there is no external I2C transmitter to discover, the firmware behind the mailbox is the only "bridge", so no VBIOS or I2C enumeration is needed.

Quoted 3 lines

BTW I wonder how the "virtual connector" thing coexist with a real display connector.

They do not coexist, the "virtual" connector is a proxy for the real one. The DC8000 output goes to dp/vga on the BMC side, and the BMC firmware owns that transmitter and its DDC bus. The host only sees the result through the mailbox: sink present/absent, the EDID the firmware read, and a hotplug interrupt. The host never programs the transmitter itself.

Quoted 3 lines

What output interface is configured by this driver? DPI/DP (DP is a bus type called by Verisilicon, not related to DisplayPort) or a writeback to memory?

It's dp, dc support writeback but we didn't use it

Quoted 4 lines

The VCE thing looks quite confusing, it seems to be only sending the main plane instead of fully composited display content (with multiple planes)? Have you checked that hardware overlay / cursor is working with it?

You read is correctly. our vce support capture mode and fetch mode,capture mode support the fully composited display content, not include cursor, but fetch mode only support the primary plane frame buffer, this is a limitation of our vce. The cursor info will be send by ethernet to host client,this is vce func

Quoted 5 lines

In addition, I wonder whether the connector should be advertised as a DisplayPort one instead of a Virtual one. On my PC with AST2500, the display connector is advertised as a VGA one (even when I didn't plug in any VGA cable because I added an extra graphics card for desktop usage).

Agreed. We can advertised it as a DisplayPort. But we have vga and dp So I used to think that virtual was more appropriate choice.

Quoted 49 lines
Quoted 49 lines
Quoted 49 lines

However, even in a worst situation, it would be just a new vs_bridge.c variant combining the output programming logic of the DC and on-chip display bridges into one source file.

Quoted 32 lines

a
different plane set with scaling, blending, gamma and de-gamma. Keep
the two front ends separate: the SoC platform driver stays where it is and the PCIe driver goes into a new pci sub-directory. Each is selectable through its own Kconfig symbol, so a kernel can be built for either or both platforms, and the two drivers do not share any global symbol so they can also both be built in.

---
 MAINTAINERS                                  |    7 + drivers/gpu/drm/Makefile                     |    1 + drivers/gpu/drm/verisilicon/Kconfig          |    2 + drivers/gpu/drm/verisilicon/Makefile         |    2 + drivers/gpu/drm/verisilicon/pci/Kconfig      |   30 + drivers/gpu/drm/verisilicon/pci/Makefile     |    6 + drivers/gpu/drm/verisilicon/pci/vs_crtc.c    |  393 +++++ drivers/gpu/drm/verisilicon/pci/vs_crtc.h    |   65 + drivers/gpu/drm/verisilicon/pci/vs_dc.c      |  895 +++++++++++ drivers/gpu/drm/verisilicon/pci/vs_dc.h      |  138 ++ drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c   | 1502
++++++++++++++++++
 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h   |  426 +++++ drivers/gpu/drm/verisilicon/pci/vs_drv.c     |  264 +++ drivers/gpu/drm/verisilicon/pci/vs_drv.h     |   79 + drivers/gpu/drm/verisilicon/pci/vs_plane.c   |  379 +++++ drivers/gpu/drm/verisilicon/pci/vs_plane.h   |   62 + drivers/gpu/drm/verisilicon/pci/vs_type.h    |   70 + drivers/gpu/drm/verisilicon/pci/vs_virtual.c |  531 +++++++ drivers/gpu/drm/verisilicon/pci/vs_virtual.h |   47 +

 19 files changed, 4899 insertions(+)
Quoted 8 lines

 create mode 100644 drivers/gpu/drm/verisilicon/pci/Kconfig create mode 100644 drivers/gpu/drm/verisilicon/pci/Makefile create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h

Anyway, it looks that you're just adding a dedicated driver without reusing the current code, and your driver even contains the badly written, magic number flooded code from Verisilicon.

Quoted 9 lines
Quoted 2 lines

Yes, it derived from the vendor code, May I ask which specific "magic number" are, Is it something like the " horKernel[]" ?

Nearly every register field isn't documented in the vendor code. Things like horKernel isn't so bad, but the register fields are bad.

And even if this copy of code is properly written, it's still code duplication unwanted by the mainline Linux.

Understood. So now, should I make the modifications based on the current version I have submitted, or should I modify it based on the dc8000 driver version provided by Joey Lu?

Quoted 24 lines

Thanks,
Icenowy

Quoted 21 lines

I will make adjustments based on joye hu's revisions.  Maybe Try to provide an explanation, Or drop it

Quoted 16 lines

Don't forget that your former workmate, Keith Zhao, worked for months on this bad driver and still failed to get it upstreamed.

NAK on this.

Thanks,
Icenowy

Quoted 7 lines

 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_type.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.h

Thanks,
Shanlong.li

maintainer
#5 lore raw

Re: reply: [PATCH v1] drm/verisilicon: add StarFive PCIe-attached DC8000 driver

Quoted 102 lines · 在 2026-11-20五的 10:51 +0000,Shanlong Li写道:
Quoted 88 lines

-----邮件原件-----
发件人: Icenowy Zheng <[email protected]>
发送时间: 2026年11月10日 18:26
收件人: Shanlong Li <[email protected]>; Maarten Lankhorst <[email protected]>; Maxime Ripard <[email protected]>; Thomas Zimmermann <[email protected]>
抄送: David Airlie <[email protected]>; Simona Vetter <[email protected]>; [email protected]
主题: Re: 回复: [PATCH v1] drm/verisilicon: add StarFive PCIe-attached DC8000 driver

Quoted 66 lines · 在 2026-11-10二的 10:04 +0000,Shanlong Li写道:
Quoted 15 lines

-----邮件原件-----
发件人: Icenowy Zheng <[email protected]>
发送时间: 2026年10月30日 15:11
收件人: Shanlong Li <[email protected]>; Maarten Lankhorst <[email protected]>; Maxime Ripard <[email protected]>; Thomas Zimmermann <[email protected]> 抄送: David Airlie <[email protected]>; Simona Vetter <[email protected]>; [email protected]; Mason Huo <[email protected]>; Changhuang Liang <[email protected]>
主题: Re: [PATCH v1] drm/verisilicon: add StarFive PCIe-attached DC8000 driver

Quoted 6 lines
Quoted 3 lines · 在 2026-10-30五的 14:15 +0800,shanlong.li写道:

From: Shanlong Li <[email protected]>

StarFive BMC SoCs contain a Verisilicon DC8000 display controller

So you really downgraded from DC8200 to DC8000 in a new SoC?

Yes. This is a BMC SoC it only needs one output for the host console / remote KVM and a single-pipeline DC8000 was chosen instead of the DC8200.

Quoted 4 lines

BTW DC8000 support is being done by Joey Lu, in the form of MA35D1 DCUltraLite support (it has the same register layout and basic functionality as the DC8000 controller I seen on Eswin EIC7700).

Thanks for the pointer, I was not aware of that series. So I need rebase on top of it instead of carrying my own DC8000 register code? If that's the case, where can I view his current submission? I will adapt my DC driver based on his modifications.
BTW i need to wait until his upstream work is completed before I can submit my next version?

Quoted 25 lines
Quoted 10 lines

which
is exposed to the host over PCIe, much like the VGA of ASPEED BMCs.
The
host owns the display pipeline (primary, overlay and cursor planes, CRTC, gamma), scans out of the PCIe memory BAR of the device and relays EDID, hotplug, mode and pixel clock requests to the BMC firmware through a mailbox located in the CSR BAR.

Quoted 4 lines

The DC8000 and the two-pipeline DC8200 served by the existing verisilicon-dc platform driver share a common register layout, but the PCIe variant needs a different GEM backend (VRAM/TTM instead of GEM

Adding a PCIe glue for dedicated IP cores is always a challenge in drivers/gpu/drm.

It might be interesting to thinking of different practices, although creating yet another DRM driver with another GEM backend seems to be a choice.

Quoted 2 lines

DMA), a BMC-backed virtual connector instead of OF graph bridges and

Quoted 7 lines

I wonder whether DRM bridge facility could be used inside a PCI device
-- one of the DRM drivers with me as a reviewer (drm/loongson) suffers from a similar (but more severe) problem. On that device, the DRM driver should enumerate external I2C-controller bridges via its DDC bus from the information of their proprietary VBIOS.

Quoted 8 lines

Yes, I think it fits, the OF graph is only how vs_bridge.c discovers its next bridge.
On the PCI device the topology is fixed, so the PCI front end can hand vs_bridge_init() the downstream bridge directly.
Our case is simpler than the drm/loongson one you describe: there is no external I2C transmitter to discover, the firmware behind the mailbox is the only "bridge", so no VBIOS or I2C enumeration is needed.

Quoted 3 lines

BTW I wonder how the "virtual connector" thing coexist with a real display connector.

They do not coexist, the "virtual" connector is a proxy for the real one. The DC8000 output goes to dp/vga on the BMC side, and the BMC firmware owns that transmitter and its DDC bus. The host only sees the result through the mailbox: sink present/absent, the EDID the firmware read, and a hotplug interrupt. The host never programs the transmitter itself.

Quoted 3 lines

What output interface is configured by this driver? DPI/DP (DP is a bus type called by Verisilicon, not related to DisplayPort) or a writeback to memory?

It's dp, dc support writeback but we didn't use it

Quoted 8 lines
Quoted 4 lines

The VCE thing looks quite confusing, it seems to be only sending the main plane instead of fully composited display content (with multiple planes)? Have you checked that hardware overlay / cursor is working with it?

You read is correctly. our vce support capture mode and fetch mode,capture mode support the fully composited display content, not include cursor, but fetch mode only support the primary plane frame buffer, this is a limitation of our vce. The cursor info will be send by ethernet to host client,this is vce func

How about overlay planes? Although the mainline drm/verisilicon currently doesn't support overlay planes, I think this needs to be considered and at least leave a note to prevent registering overlay planes when they're added.

In addition, I didn't see any code sending the cursor information via VCE, only the address of the primary plane.

P.S. I cannot understand how the fully composited display content WITHOUT the cursor is acquired either.

Quoted 8 lines
Quoted 6 lines

In addition, I wonder whether the connector should be advertised as a DisplayPort one instead of a Virtual one. On my PC with AST2500, the display connector is advertised as a VGA one (even when I didn't plug in any VGA cable because I added an extra graphics card for desktop usage).

Agreed. We can advertised it as a DisplayPort. But we have vga and dp So I used to think that virtual was more appropriate choice.

Is there any call that could decide which physical encoder is enabled? If there's one, exposing the real connector type could be better.

Quoted 52 lines
Quoted 52 lines
Quoted 51 lines
Quoted 46 lines

However, even in a worst situation, it would be just a new vs_bridge.c variant combining the output programming logic of the DC and on-chip display bridges into one source file.

Quoted 32 lines

a
different plane set with scaling, blending, gamma and de-gamma. Keep
the two front ends separate: the SoC platform driver stays where it is and the PCIe driver goes into a new pci sub-directory. Each is selectable through its own Kconfig symbol, so a kernel can be built for either or both platforms, and the two drivers do not share any global symbol so they can also both be built in.

---
 MAINTAINERS                                  |    7 + drivers/gpu/drm/Makefile                     |    1 + drivers/gpu/drm/verisilicon/Kconfig          |    2 + drivers/gpu/drm/verisilicon/Makefile         |    2 + drivers/gpu/drm/verisilicon/pci/Kconfig      |   30 + drivers/gpu/drm/verisilicon/pci/Makefile     |    6 + drivers/gpu/drm/verisilicon/pci/vs_crtc.c    |  393 +++++ drivers/gpu/drm/verisilicon/pci/vs_crtc.h    |   65 + drivers/gpu/drm/verisilicon/pci/vs_dc.c      |  895 +++++++++++ drivers/gpu/drm/verisilicon/pci/vs_dc.h      |  138 ++ drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c   | 1502
++++++++++++++++++
 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h   |  426 +++++ drivers/gpu/drm/verisilicon/pci/vs_drv.c     |  264 +++ drivers/gpu/drm/verisilicon/pci/vs_drv.h     |   79 + drivers/gpu/drm/verisilicon/pci/vs_plane.c   |  379 +++++ drivers/gpu/drm/verisilicon/pci/vs_plane.h   |   62 + drivers/gpu/drm/verisilicon/pci/vs_type.h    |   70 + drivers/gpu/drm/verisilicon/pci/vs_virtual.c |  531 +++++++ drivers/gpu/drm/verisilicon/pci/vs_virtual.h |   47 +

 19 files changed, 4899 insertions(+)
Quoted 8 lines

 create mode 100644 drivers/gpu/drm/verisilicon/pci/Kconfig create mode 100644 drivers/gpu/drm/verisilicon/pci/Makefile create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_crtc.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_dc_hw.h

Quoted 3 lines

Anyway, it looks that you're just adding a dedicated driver without reusing the current code, and your driver even contains the badly written, magic number flooded code from Verisilicon.

Yes, it derived from the vendor code, May I ask which specific "magic number" are, Is it something like the " horKernel[]" ?

Quoted 8 lines
Quoted 6 lines

Nearly every register field isn't documented in the vendor code. Things like horKernel isn't so bad, but the register fields are bad.

And even if this copy of code is properly written, it's still code duplication unwanted by the mainline Linux.

Understood. So now, should I make the modifications based on the current version I have submitted, or should I modify it based on the dc8000 driver version provided by Joey Lu?

Based on the Joey Lu patchset; although it might need some rebase.

Thanks,
Icenowy

Quoted 25 lines
Quoted 25 lines

Thanks,
Icenowy

Quoted 21 lines

I will make adjustments based on joye hu's revisions.  Maybe Try to provide an explanation, Or drop it

Quoted 16 lines

Don't forget that your former workmate, Keith Zhao, worked for months on this bad driver and still failed to get it upstreamed.

NAK on this.

Thanks,
Icenowy

Quoted 7 lines

 create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_drv.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_plane.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_type.h create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.c create mode 100644 drivers/gpu/drm/verisilicon/pci/vs_virtual.h

Thanks,
Shanlong.li