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

2021-04-19 Thread Kevin Tang
Hi, Maxime Ripard 于2021年4月15日周四 下午5:03写道: > > Hi, > > On Thu, Apr 15, 2021 at 08:18:52AM +0800, Kevin Tang wrote: > > Maxime Ripard 于2021年3月24日周三 下午7:10写道: > > > > +static struct sprd_dpu *sprd_crtc_init(struct drm_device *drm, > > > > +

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

2021-04-18 Thread Kevin Tang
Maxime Ripard 于2021年4月15日周四 下午4:42写道: > > On Fri, Apr 09, 2021 at 08:23:19AM +0800, Kevin Tang wrote: > > Maxime Ripard 于2021年4月7日周三 下午6:46写道: > > > > > On Wed, Mar 31, 2021 at 09:49:14AM +0800, Kevin Tang wrote: > > > > Hi Maxime, > > >

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

2021-04-15 Thread Kevin Tang
Maxime Ripard 于2021年4月7日周三 下午6:48写道: > > On Wed, Mar 31, 2021 at 09:47:12AM +0800, Kevin Tang wrote: > > > > diff --git a/drivers/gpu/drm/sprd/Makefile > > > b/drivers/gpu/drm/sprd/Makefile > > > > index 6c25bfa99..d49f4977b 100644 > > > > --- a/

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

2021-04-15 Thread Kevin Tang
Maxime Ripard 于2021年3月24日周三 下午7:10写道: > > Hi, > > On Mon, Feb 22, 2021 at 09:28:20PM +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

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

2021-02-22 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 drm

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

2021-02-22 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(+) create

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

2021-02-22 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

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

2021-02-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: Chunyan Zhang Signed-off-by: Kevin Tang Reviewed-by: Rob Herring --- .../display/sprd/sprd

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

2021-02-22 Thread Kevin Tang
detest (DRM/KMS test tool) and Android HWComposer. Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by: Kevin Tang v4: - Move the devm_drm_dev_alloc to master_ops->bind function. - The managed drmm_mode_config_init() it is no longer necessary for drivers to explicitly call drm_mode_config_cle

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

2021-02-22 Thread Kevin Tang
crtc ,planes, encoder to bind funtion. 5. Move rotation enum definitions to crtc layer reg bitfields. 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

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

2021-02-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 Unisoc's display pipeline have several components as below description, multi display controllers and corresponding phy

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

2021-01-05 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 drm

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

2021-01-05 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 inser

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

2021-01-05 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

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

2021-01-05 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 v3 2/6] drm/sprd: add Unisoc's drm kms master

2021-01-05 Thread Kevin Tang
detest (DRM/KMS 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/

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

2021-01-05 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 phy

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

2021-01-05 Thread Kevin Tang
merge the dphy driver into the dsi. 2. 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 laye

[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 phy

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

2020-12-28 Thread Kevin Tang
2: - Use 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 + drive

[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 inser

[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 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

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

2020-12-28 Thread Kevin Tang
detest (DRM/KMS 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/

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

2020-12-28 Thread Kevin Tang
merge the dphy driver into the dsi. 2. 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/s

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

2020-12-07 Thread Kevin Tang
detest (DRM/KMS 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/

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

2020-12-07 Thread Kevin Tang
Orson Zhai 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_pp

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

2020-12-07 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 1

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

2020-12-07 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/Makefi

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

2020-12-07 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 0/6] Add Unisoc's drm kms module

2020-12-07 Thread Kevin Tang
merge the dphy driver into the dsi. 2. Add commit messages for Unisoc's virtual nodes. 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'

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

2020-12-07 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 phy

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

2020-11-30 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/gp

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

2020-11-30 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 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-11-30 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

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

2020-11-30 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

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

2020-11-30 Thread Kevin Tang
detest (DRM/KMS 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/

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

2020-11-30 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/Makefi

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

2020-11-30 Thread Kevin Tang
ot; v0: 1. Remove dpu_core_ops stuff layer 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:

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

2020-11-16 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 RFC v7 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-09-28 Thread Kevin Tang
t; I'm sorry, 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 wrot

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

2020-09-28 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 v7 6/6] drm/sprd: add Unisoc's drm mipi dsi&dphy driver

2020-09-27 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/gp

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

2020-09-27 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

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

2020-09-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. RFC v7: - Fix DTC unit name warnings - Fix the problem of maintainers Cc: Orson Zhai Cc: Chunyan Zhang

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

2020-09-27 Thread Kevin Tang
readl/writel - 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 |

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

2020-09-27 Thread Kevin Tang
m and use devm_drm_dev_alloc 5. Replace 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&Dphy Code structure adjustment, all move to "sprd/" Kevin Tang (6): dt-binding

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

2020-09-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 RFC v7: - Fix DTC unit name warnings - Fix the problem of maintainers Cc: Orson Zhai Cc: Chunyan Zhang Signed-off-by

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

2020-09-27 Thread Kevin Tang
detest (DRM/KMS 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 ---

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

2020-08-29 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, rotat

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

2020-08-28 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 2/6] drm/sprd: add Unisoc's drm kms master

2020-08-28 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 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-08-26 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

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

2020-07-28 Thread Kevin Tang
n 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. >

[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

[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 6/6] drm/sprd: add Unisoc's drm mipi dsi&dphy 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 --

[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&#x

[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 5/6] dt-bindings: display: add Unisoc's mipi dsi&dphy 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

[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