[PATCH RFC v1 4/6] drm/sprd: add Unisoc's drm display controller driver

2019-12-17 Thread Kevin Tang
From: Kevin Tang Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Makefile | 6

[PATCH RFC v1 0/6] Add Unisoc's drm kms module

2019-12-17 Thread Kevin Tang
yaml support 5. remove auto-adaptive panel driver 6. remove CMA keywords from gem driver Best, Kevin Tang Kevin Tang (6): dt-bindings: display: add Unisoc's drm master bindings drm/sprd: add Unisoc's drm kms master dt-bindings: display: add Unisoc's dpu bindings drm/sprd: add Unisoc's drm

[PATCH RFC v1 5/6] dt-bindings: display: add Unisoc's mipi dsi bindings

2019-12-17 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/dphy.yaml | 78 .../devicetree/bindings/display

[PATCH RFC v1 2/6] drm/sprd: add Unisoc's drm kms master

2019-12-17 Thread Kevin Tang
From: Kevin Tang Adds drm support for the Unisoc's display subsystem. This is drm device and gem driver. This driver provides support for the Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang

[PATCH RFC v1 1/6] dt-bindings: display: add Unisoc's drm master bindings

2019-12-17 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd

[PATCH RFC v1 3/6] dt-bindings: display: add Unisoc's dpu bindings

2019-12-17 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display

[PATCH RFC 5/8] dt-bindings: display: add Unisoc's mipi dsi bindings

2019-12-10 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/dphy.txt | 49 .../devicetree/bindings/display

[PATCH RFC 4/8] drm/sprd: add Unisoc's drm display controller driver

2019-12-10 Thread Kevin Tang
From: Kevin Tang Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Makefile |6

[PATCH RFC 8/8] drm/sprd: add Unisoc's drm generic mipi panel driver

2019-12-10 Thread Kevin Tang
From: Kevin Tang This is a generic mipi dsi panel driver, All the parameters related to lcd panel, we are placed in the DTS to configure, for example,lcd display timing, dpi parameter and more. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm

[PATCH RFC 7/8] dt-bindings: display: add Unisoc's generic mipi panel bindings

2019-12-10 Thread Kevin Tang
From: Kevin Tang Adds generic MIPI panel support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/panel.txt | 110 + 1 file changed, 110 insertions(+) create mode

[PATCH RFC 3/8] dt-bindings: display: add Unisoc's dpu bindings

2019-12-10 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display

[PATCH RFC 0/8] Add Unisoc's drm kms module

2019-12-10 Thread Kevin Tang
Hi all, This patch is our Unisoc's new drm display driver, This driver provides support for the Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. This patch include display controller, mipi dsi and mipi dphy support for Unisoc's display subsystem. Best, Kevin Tang Kevin Tang (8

[PATCH RFC 2/8] drm/sprd: add Unisoc's drm kms master

2019-12-10 Thread Kevin Tang
From: Kevin Tang Adds drm support for the Unisoc's display subsystem. This is drm device and gem driver. This driver provides support for the Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang

[PATCH RFC 1/8] dt-bindings: display: add Unisoc's drm master bindings

2019-12-10 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- Documentation/devicetree/bindings/display

[PATCH RFC v4 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-02-27 Thread Kevin Tang
Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Makefile | 5 +- drivers/gpu/drm

[PATCH RFC v4 3/6] dt-bindings: display: add Unisoc's dpu bindings

2020-02-27 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display

[PATCH RFC v4 0/6] Add Unisoc's drm kms module

2020-02-27 Thread Kevin Tang
kconfig 5. "drm_dev_put" on drm_unbind 6. fix some naming convention issue 7. remove semaphore lock for crtc flip 8. remove static variables Kevin Tang (6): dt-bindings: display: add Unisoc's drm master bindings drm/sprd: add Unisoc's drm kms master dt-bindings: display: add Unisoc's dpu

[PATCH RFC v4 5/6] dt-bindings: display: add Unisoc's mipi dsi bindings

2020-02-27 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/dphy.yaml | 75 + .../devicetree/bindings/display

[PATCH RFC v4 2/6] drm/sprd: add Unisoc's drm kms master

2020-02-27 Thread Kevin Tang
From: Kevin Tang Adds drm support for the Unisoc's display subsystem. This is drm kms driver, this driver provides support for the application framework in Android, Yocto and more. Application framework can access Unisoc's display internel peripherals through libdrm or libkms, it's test ok

[PATCH RFC v4 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-02-27 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd

[PATCH RFC v3 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-02-21 Thread Kevin Tang
Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Makefile | 6 +- drivers/gpu/drm

[PATCH RFC v3 0/6] Add Unisoc's drm kms module

2020-02-21 Thread Kevin Tang
drivers, use generic CMA handlers 3. remove redundant "module_init", all the sub modules loading by KMS v3: 1. multi crtc design have problem, so rollback to v1 Kevin Tang (6): dt-bindings: display: add Unisoc's drm master bindings drm/sprd: add Unisoc's drm kms master dt-bindings: di

[PATCH RFC v3 2/6] drm/sprd: add Unisoc's drm kms master

2020-02-21 Thread Kevin Tang
From: Kevin Tang Adds drm support for the Unisoc's display subsystem. This is drm device and gem driver. This driver provides support for the Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang

[PATCH RFC v3 3/6] dt-bindings: display: add Unisoc's dpu bindings

2020-02-21 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display

[PATCH RFC v3 5/6] dt-bindings: display: add Unisoc's mipi dsi bindings

2020-02-21 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/dphy.yaml | 78 .../devicetree/bindings/display

[PATCH RFC v3 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-02-21 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd

[PATCH RFC v2 0/6] Add Unisoc's drm kms module

2020-01-22 Thread Kevin Tang
drivers, use generic CMA handlers 3. remove redundant "module_init", all the sub modules loading by KMS Kevin Tang (6): dt-bindings: display: add Unisoc's drm master bindings drm/sprd: add Unisoc's drm kms master dt-bindings: display: add Unisoc's dpu bindings drm/sprd: add Unisoc's d

[PATCH RFC v2 5/6] dt-bindings: display: add Unisoc's mipi dsi bindings

2020-01-22 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/dphy.yaml | 78 .../devicetree/bindings/display

[PATCH RFC v2 3/6] dt-bindings: display: add Unisoc's dpu bindings

2020-01-22 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display

[PATCH RFC v2 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-01-22 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd

[PATCH RFC v2 2/6] drm/sprd: add Unisoc's drm kms master

2020-01-22 Thread Kevin Tang
From: Kevin Tang Adds drm support for the Unisoc's display subsystem. This is drm device and gem driver. This driver provides support for the Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang

[PATCH RFC v2 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-01-22 Thread Kevin Tang
From: Kevin Tang Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation and more. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Makefile | 6 +- drivers/gpu/drm

[PATCH RFC v5 2/6] drm/sprd: add Unisoc's drm kms master

2020-03-15 Thread Kevin Tang
From: Kevin Tang Adds drm support for the Unisoc's display subsystem. This is drm kms driver, this driver provides support for the application framework in Android, Yocto and more. Application framework can access Unisoc's display internel peripherals through libdrm or libkms, it's test ok

[PATCH RFC v5 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2020-03-15 Thread Kevin Tang
Adds dsi host controller support for the Unisoc's display subsystem. Adds dsi phy support for the Unisoc's display subsystem. Only MIPI DSI Displays supported, DP/TV/HMDI will be support in the feature. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers

[PATCH RFC v5 3/6] dt-bindings: display: add Unisoc's dpu bindings

2020-03-15 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display

[PATCH RFC v5 0/6] Add Unisoc's drm kms module

2020-03-15 Thread Kevin Tang
ion return type, drop unless debug log 4. custom properties should be separate, so drop it 5. use DRM_XXX replase pr_xxx 6. drop dsi hal callback ops 7. drop unless callback ops checking 8. add comments for sprd dpu structure Kevin Tang (6): dt-bindings: display: add Unisoc's drm master bindings

[PATCH RFC v5 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-03-15 Thread Kevin Tang
Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Makefile | 5 +- drivers/gpu/drm

[PATCH RFC v5 5/6] dt-bindings: display: add Unisoc's mipi dsi bindings

2020-03-15 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/dphy.yaml | 75 + .../devicetree/bindings/display

[PATCH RFC v5 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-03-15 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd

Re: [PATCH RFC v6 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-08-31 Thread Kevin Tang
Daniel Vetter 于2020年7月29日周三 上午5:51写道: > > On Tue, Jul 28, 2020 at 12:08 PM Kevin Tang wrote: > > > > From: Kevin Tang > > > > Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. > > It's support multi planes, scaler, rotation, PQ(Pi

Re: [PATCH RFC v6 2/6] drm/sprd: add Unisoc's drm kms master

2020-08-29 Thread Kevin Tang
; Sam > Hi Sam, Thanks for your feedback, I am really busy sometimes, but will try my best to keep up with others. > > On Tue, Jul 28, 2020 at 06:07:55PM +0800, Kevin Tang wrote: > > From: Kevin Tang > > > > Adds drm support for the Unisoc's display subsystem. >

Re: [PATCH RFC v6 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-08-29 Thread Kevin Tang
Sam Ravnborg 于2020年7月29日周三 上午5:14写道: > > Hi Kevin. > > Some feedback in the following. > I lost track of thing for the atomic modesettting stuff and I hope other > will review that. > > Sam > > On Tue, Jul 28, 2020 at 06:07:57PM +0800, Kevin Tang wrote: >

Re: [PATCH RFC v6 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-08-27 Thread Kevin Tang
Sam Ravnborg 于2020年7月29日周三 上午4:27写道: > > Hi Kevin > > On Tue, Jul 28, 2020 at 06:07:54PM +0800, Kevin Tang wrote: > > From: Kevin Tang > > > > The Unisoc DRM master device is a virtual device needed to list all > > DPU devices or other display interface

[PATCH RFC v7 5/6] dt-bindings: display: add Unisoc's mipi dsi bindings

2020-09-28 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) support for Unisoc's display subsystem. RFC v7: - Fix DTC unit name warnings - Fix the problem of maintainers Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../display/sprd/sprd,sharkl3-dsi-host.yaml

[PATCH RFC v7 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-09-28 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem RFC v7: - Fix DTC unit name warnings - Fix the problem of maintainers Cc: Orson Zhai Cc: Chunyan Zhang Signed-off

[PATCH RFC v7 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-09-28 Thread Kevin Tang
tel - Checking for unsupported KMS properties (format, rotation, blend_mode, etc) on plane_check ops - Remove always true checks for dpu core ops Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Kconfig| 1 + drivers/gpu/drm/sprd/Makefile | 6 +- driv

[PATCH RFC v7 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2020-09-28 Thread Kevin Tang
Adds dsi host controller support for the Unisoc's display subsystem. Adds dsi phy support for the Unisoc's display subsystem. Only MIPI DSI Displays supported, DP/TV/HMDI will be support in the feature. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd

[PATCH RFC v7 0/6] Add Unisoc's drm kms module

2020-09-28 Thread Kevin Tang
place DRM_XXX with drm_xxx on KMS module, but not suitable for other subsystems 6. Remove plane_update stuff, dpu handles all the HW update in crtc->atomic_flush 7. Dsi Code structure adjustment, all move to "sprd/" Kevin Tang (6): dt-bindings: display: add Unisoc's drm master bindings

[PATCH RFC v7 2/6] drm/sprd: add Unisoc's drm kms master

2020-09-28 Thread Kevin Tang
test tool) and Android HWComposer. RFC v7: - call drmm_mode_config_init to mode config init - embed drm_device in sprd_drm and use devm_drm_dev_alloc - replace DRM_XXX with drm_xxx - Kconfig optimization Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm

[PATCH RFC v7 3/6] dt-bindings: display: add Unisoc's dpu bindings

2020-09-28 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. RFC v7: - Fix DTC unit name warnings - Fix the problem of maintainers Cc: Orson Zhai Cc: Chunyan Zhang

Re: [PATCH RFC v7 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-09-29 Thread Kevin Tang
rry, maybe is my careless, I still don't understand why and how to do it Rob Herring 于2020年9月29日周二 上午12:28写道: > > On Mon, Sep 28, 2020 at 3:17 AM Maxime Ripard wrote: > > > > Hi! > > > > On Mon, Sep 28, 2020 at 02:27:35PM +0800, Kevin Tang wrote: > > > Fr

Re: [PATCH RFC v7 5/6] dt-bindings: display: add Unisoc's mipi dsi bindings

2020-09-29 Thread Kevin Tang
Hi maxime, Sorry, I forgot to describe ports subnode with my two port@X, i will be fix it. Thanks for reminding Maxime Ripard 于2020年9月28日周一 下午4:20写道: > > Hi! > > On Mon, Sep 28, 2020 at 02:27:39PM +0800, Kevin Tang wrote: > > From: Kevin Tang > > > > Adds MIPI

[PATCH RFC v6 5/6] dt-bindings: display: add Unisoc's mipi dsi bindings

2020-07-28 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/dphy.yaml | 75 + .../devicetree/bindings/display/sprd/dsi.yaml

[PATCH RFC v6 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-07-28 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/drm.yaml | 36

[PATCH RFC v6 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2020-07-28 Thread Kevin Tang
From: Kevin Tang Adds dsi host controller support for the Unisoc's display subsystem. Adds dsi phy support for the Unisoc's display subsystem. Only MIPI DSI Displays supported, DP/TV/HMDI will be support in the feature. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers

[PATCH RFC v6 0/6] Add Unisoc's drm kms module

2020-07-28 Thread Kevin Tang
From: Kevin Tang ChangeList: v1: 1. only upstream modeset and atomic at first commit. 2. remove some unused code; 3. use alpha and blend_mode properties; 3. add yaml support; 4. remove auto-adaptive panel driver; 5. bugfix v2: 1. add sprd crtc and plane module for KMS, preparing for multi crtc

[PATCH RFC v6 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-07-28 Thread Kevin Tang
From: Kevin Tang Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. RFC v6: - Access registers via readl/writel - Checking for unsupported KMS properties (format, rotation, blend_mode, etc

[PATCH RFC v6 3/6] dt-bindings: display: add Unisoc's dpu bindings

2020-07-28 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/dpu.yaml

[PATCH RFC v6 2/6] drm/sprd: add Unisoc's drm kms master

2020-07-28 Thread Kevin Tang
From: Kevin Tang Adds drm support for the Unisoc's display subsystem. This is drm kms driver, this driver provides support for the application framework in Android, Yocto and more. Application framework can access Unisoc's display internel peripherals through libdrm or libkms, it's test ok

Re: [PATCH RFC v5 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-07-28 Thread Kevin Tang
the corresponding patch from now on, thanks for your advice. BR, Kevin Emil Velikov 于2020年3月20日周五 上午2:07写道: > > Hey Kevin, > > On Sun, 15 Mar 2020 at 23:19, Kevin Tang wrote: > > > > Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. > > It'

[PATCH v3 0/6] Add Unisoc's drm kms module

2021-01-06 Thread Kevin Tang
. Add commit messages for Unisoc's virtual nodes. v2: 1. Use drm_xxx to replace all DRM_XXX. 2. Use kzalloc to replace devm_kzalloc for sprd_dsi/sprd_dpu structure init. 3. Remove dpu_core_ops midlayer. v3: 1. Remove dpu_layer midlayer and commit layers by aotmic_update Kevin Tang (6): dt-bindin

[PATCH v3 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2021-01-06 Thread Kevin Tang
Adds dsi host controller support for the Unisoc's display subsystem. Adds dsi phy support for the Unisoc's display subsystem. Only MIPI DSI Displays supported, DP/TV/HMDI will be support in the feature. v1: - Remove dphy and dsi graph binding, merge the dphy driver into the dsi. v2: - Use

[PATCH v3 5/6] dt-bindings: display: add Unisoc's mipi dsi controller bindings

2021-01-06 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Controller support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang Reviewed-by: Rob Herring --- .../display/sprd/sprd,sharkl3-dsi-host.yaml| 102 + 1 file changed, 102 insertions

[PATCH v3 2/6] drm/sprd: add Unisoc's drm kms master

2021-01-06 Thread Kevin Tang
test tool) and Android HWComposer. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile| 1 + drivers/gpu/drm/sprd/Kconfig| 12 +++ drivers/gpu/drm/sprd/Makefile | 5 + drivers/gpu/drm/sprd/sprd_drm.c

[PATCH v3 1/6] dt-bindings: display: add Unisoc's drm master bindings

2021-01-06 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Unisoc's display pipeline have several components as below description, multi display controllers and corresponding physical

[PATCH v3 4/6] drm/sprd: add Unisoc's drm display controller driver

2021-01-06 Thread Kevin Tang
Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang v2: - Use drm_xxx to replace all DRM_XXX. - Use kzalloc to replace

[PATCH v3 3/6] dt-bindings: display: add Unisoc's dpu bindings

2021-01-06 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang Reviewed-by: Rob Herring --- .../bindings/display

[PATCH v1 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2020-12-08 Thread Kevin Tang
Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Makefile |8 +- drivers/gpu/drm/sprd/dw_dsi_ctrl.c | 792 + drivers/gpu/drm/sprd/dw_dsi_ctrl.h | 1475 drivers/gpu/drm/sprd/dw_dsi_ctrl_ppi.c | 275

[PATCH v1 3/6] dt-bindings: display: add Unisoc's dpu bindings

2020-12-08 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../bindings/display/sprd/sprd,sharkl3-dpu.yaml

[PATCH v1 2/6] drm/sprd: add Unisoc's drm kms master

2020-12-08 Thread Kevin Tang
test tool) and Android HWComposer. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile| 1 + drivers/gpu/drm/sprd/Kconfig| 12 +++ drivers/gpu/drm/sprd/Makefile | 5 + drivers/gpu/drm/sprd/sprd_drm.c

[PATCH v1 5/6] dt-bindings: display: add Unisoc's mipi dsi controller bindings

2020-12-08 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Controller support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../display/sprd/sprd,sharkl3-dsi-host.yaml| 107 + 1 file changed, 107 insertions(+) create mode 100644

[PATCH v1 0/6] Add Unisoc's drm kms module

2020-12-08 Thread Kevin Tang
for sprd drtc driver, but dpu_layer need to keeping. Because all the HW update in crtc->atomic_flush, we need temporary storage all layers for the dpu pageflip of atomic_flush. 2. Add ports subnode with port@X. v1: 1. Remove dphy and dsi graph binding, merge the dphy driver into the dsi. 2

[PATCH v1 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-12-08 Thread Kevin Tang
Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Kconfig| 1 + drivers/gpu/drm/sprd/Makefile | 6

[PATCH v1 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-12-08 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Unisoc's display pipeline have several components as below description, multi display controllers and corresponding physical

[PATCH 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2020-12-01 Thread Kevin Tang
Adds dsi host controller support for the Unisoc's display subsystem. Adds dsi phy support for the Unisoc's display subsystem. Only MIPI DSI Displays supported, DP/TV/HMDI will be support in the feature. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd

[PATCH 2/6] drm/sprd: add Unisoc's drm kms master

2020-12-01 Thread Kevin Tang
test tool) and Android HWComposer. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile| 1 + drivers/gpu/drm/sprd/Kconfig| 12 +++ drivers/gpu/drm/sprd/Makefile | 5 + drivers/gpu/drm/sprd/sprd_drm.c

[PATCH 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-12-01 Thread Kevin Tang
Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Kconfig| 1 + drivers/gpu/drm/sprd/Makefile | 6

Re: [PATCH 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-12-01 Thread Kevin Tang
Hi Rob Rob Herring 于2020年12月1日周二 上午4:29写道: > > On Mon, Nov 30, 2020 at 7:28 AM Kevin Tang wrote: > > > > From: Kevin Tang > > Once again, DT patches must Cc the DT list if you want them reviewed. Ok, i will add DT list to my Cc list. > > > > > The Uniso

[PATCH 0/6] Add Unisoc's drm kms module

2020-12-01 Thread Kevin Tang
for sprd drtc driver, but dpu_layer need to keeping. Because all the HW update in crtc->atomic_flush, we need temporary storage all layers for the dpu pageflip of atomic_flush. 2. Add ports subnode with port@X. Kevin Tang (6): dt-bindings: display: add Unisoc's drm master bindings drm/

[PATCH 3/6] dt-bindings: display: add Unisoc's dpu bindings

2020-12-01 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../bindings/display/sprd/sprd,sharkl3-dpu.yaml

[PATCH 5/6] dt-bindings: display: add Unisoc's mipi dsi bindings

2020-12-01 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../display/sprd/sprd,sharkl3-dsi-host.yaml| 107 + .../display/sprd/sprd,sharkl3-dsi-phy.yaml

[PATCH 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-12-01 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../display/sprd/sprd,display-subsystem.yaml | 39

Re: [PATCH 5/6] dt-bindings: display: add Unisoc's mipi dsi bindings

2020-12-02 Thread Kevin Tang
Hi Rob, Rob Herring 于2020年12月1日周二 上午4:31写道: > On Mon, Nov 30, 2020 at 7:29 AM Kevin Tang wrote: > > > > From: Kevin Tang > > > > Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) > > support for Unisoc's display subsystem. > > > > Cc: Orson Zhai &g

Re: [PATCH RFC v6 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-11-17 Thread Kevin Tang
Hi Sam, Here is feedback of RFC V7 Sam Ravnborg 于2020年7月29日周三 上午5:14写道: > > Hi Kevin. > > Some feedback in the following. > I lost track of thing for the atomic modesettting stuff and I hope other > will review that. > > Sam > > On Tue, Jul 28, 2020 at 06:0

Re: [PATCH v3 0/6] Add Unisoc's drm kms module

2021-01-23 Thread Kevin Tang
Hi Daniel, Do you have some more comments for our patch? Kevin Tang 于2021年1月5日周二 下午9:46写道: > ChangeList: > RFC v1: > 1. only upstream modeset and atomic at first commit. > 2. remove some unused code; > 3. use alpha and blend_mode properties; > 3. add yaml support; > 4.

[PATCH v2 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2020-12-28 Thread Kevin Tang
drm_xxx to replace all DRM_XXX. - Use kzalloc to replace devm_kzalloc for sprd_dsi structure init. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Makefile |8 +- drivers/gpu/drm/sprd/dw_dsi_ctrl.c | 794 + drivers/gpu/drm

[PATCH v2 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-12-28 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Unisoc's display pipeline have several components as below description, multi display controllers and corresponding physical

[PATCH v2 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-12-28 Thread Kevin Tang
Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang v2: - Use drm_xxx to replace all DRM_XXX. - Use kzalloc to replace

[PATCH v2 0/6] Add Unisoc's drm kms module

2020-12-28 Thread Kevin Tang
. Add commit messages for Unisoc's virtual nodes. v2: 1. Use drm_xxx to replace all DRM_XXX. 2. Use kzalloc to replace devm_kzalloc for sprd_dsi/sprd_dpu structure init. Kevin Tang (6): dt-bindings: display: add Unisoc's drm master bindings drm/sprd: add Unisoc's drm kms master dt-bindings: dis

[PATCH v2 3/6] dt-bindings: display: add Unisoc's dpu bindings

2020-12-28 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang Reviewed-by: Rob Herring --- .../bindings/display

[PATCH v2 5/6] dt-bindings: display: add Unisoc's mipi dsi controller bindings

2020-12-28 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Controller support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang Reviewed-by: Rob Herring --- .../display/sprd/sprd,sharkl3-dsi-host.yaml| 107 + 1 file changed, 107 insertions

[PATCH v2 2/6] drm/sprd: add Unisoc's drm kms master

2020-12-28 Thread Kevin Tang
test tool) and Android HWComposer. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile| 1 + drivers/gpu/drm/sprd/Kconfig| 12 +++ drivers/gpu/drm/sprd/Makefile | 5 + drivers/gpu/drm/sprd/sprd_drm.c

Re: [PATCH v5 4/6] drm/sprd: add Unisoc's drm display controller driver

2021-05-14 Thread Kevin Tang
Maxime Ripard 于2021年4月30日周五 下午5:22写道: > > On Sun, Apr 25, 2021 at 08:36:05PM +0800, Kevin Tang wrote: > > Adds DPU(Display Processor Unit) support for the Unisoc's display > > subsystem. > > It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. > &g

Re: [PATCH v5 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2021-05-12 Thread Kevin Tang
Maxime Ripard 于2021年4月30日周五 下午5:35写道: > > Hi, > > On Sun, Apr 25, 2021 at 08:36:07PM +0800, Kevin Tang wrote: > > Adds dsi host controller support for the Unisoc's display subsystem. > > Adds dsi phy support for the Unisoc's display subsystem. > > Only MIPI DSI

Re: [PATCH v5 4/6] drm/sprd: add Unisoc's drm display controller driver

2021-04-30 Thread Kevin Tang
Cc Robin & Joerg Maxime Ripard 于2021年4月30日周五 下午5:22写道: > > On Sun, Apr 25, 2021 at 08:36:05PM +0800, Kevin Tang wrote: > > Adds DPU(Display Processor Unit) support for the Unisoc's display > > subsystem. > > It's support multi planes, scaler, rotation, PQ(Picture Q

[PATCH v5 3/6] dt-bindings: display: add Unisoc's dpu bindings

2021-04-25 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang Reviewed-by: Rob Herring --- .../display/sprd/sprd

[PATCH v5 4/6] drm/sprd: add Unisoc's drm display controller driver

2021-04-25 Thread Kevin Tang
callback. - Follow the OF-Graph bindings, use of_graph_get_port_by_id instead of of_parse_phandle. - Use zpos to represent the layer position. - Rebase to last drm misc branch. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Kconfig| 1 + drivers

[PATCH v5 0/6] Add Unisoc's drm kms module

2021-04-25 Thread Kevin Tang
ad of of_parse_phandle. 6. Use zpos to represent the layer position. 7. Rebase to last drm misc branch. 8. Remove panel_in port for dsi node. 9. Drop the dsi ip file prefix. 10. Add Signed-off-by for dsi patch. 11. Use the mode_flags of mipi_dsi_device to setup crtc DPI and EDPI mode. Kevin Tang (6

[PATCH v5 1/6] dt-bindings: display: add Unisoc's drm master bindings

2021-04-25 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Unisoc's display pipeline have several components as below description, multi display controllers and corresponding physical

[PATCH v5 2/6] drm/sprd: add Unisoc's drm kms master

2021-04-25 Thread Kevin Tang
eep the selects sorted by alphabet for Kconfig. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang Reviewed-by: Rob Herring --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile| 1 + drivers/gpu/drm/sprd/Kconfig| 11 ++ drivers/gpu/drm/sprd/Makefile |

  1   2   >