Re: [PATCH v1 8/9] drm/doc: Add initial komeda driver documentation

2018-12-10 Thread james qian wang (Arm Technology China)
On Wed, Dec 05, 2018 at 06:08:38PM -0800, Randy Dunlap wrote: > On 12/5/18 2:25 AM, james qian wang (Arm Technology China) wrote: > > Signed-off-by: James (Qian) Wang > > --- > > Documentation/gpu/drivers.rst| 1 + > > Documentati

[PATCH v2 0/9] Overview of Arm komeda display driver

2018-12-19 Thread james qian wang (Arm Technology China)
This is the first patchset of ARM new komeda display driver, this patchset added all basic structure of komeda, relationship of DRM-KMS with komeda, for tring to give a brife overview of komeda-driver. komeda is for supporting the ARM display processor D71 and later IPs, Since from D71, Arm displa

[PATCH v2 2/9] dt/bindings: drm/komeda: Add DT bindings for ARM display processor D71

2018-12-19 Thread james qian wang (Arm Technology China)
Add DT bindings documentation for the ARM display processor D71 and later IPs. Signed-off-by: James (Qian) Wang --- .../bindings/display/arm/arm,komeda.txt | 87 +++ 1 file changed, 87 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/arm/arm,komed

[PATCH v2 4/9] drm/komeda: Add DT parsing

2018-12-19 Thread james qian wang (Arm Technology China)
Parse DT and initialize corresponding dev/pipeline attributes. Signed-off-by: James (Qian) Wang --- .../gpu/drm/arm/display/komeda/komeda_dev.c | 74 +++ .../gpu/drm/arm/display/komeda/komeda_dev.h | 3 + .../drm/arm/display/komeda/komeda_pipeline.c | 4 + .../drm/arm/disp

[PATCH v2 3/9] drm/komeda: Build komeda to be a platform module

2018-12-19 Thread james qian wang (Arm Technology China)
Implement a simple wrapper for platform module to build komeda to module, Also add a very simple D71 layer code to show how to discover a product. Komeda driver direct bind the product ENTRY function xxx_identity to DT compatible name like: d71_product = { .product_id = MALIDP_D71_PRODUCT_

[PATCH v2 1/9] drm/komeda: komeda_dev/pipeline/component definition and initialzation

2018-12-19 Thread james qian wang (Arm Technology China)
1. Added a brief definition of komeda_dev/pipeline/component, this change didn't add the detailed component features and capabilities, which will be added in the following changes. 2. Corresponding resources discovery and initialzation functions. Signed-off-by: James (Qian) Wang --- driver

[PATCH v2 5/9] drm/komeda: Add komeda_format_caps for format handling

2018-12-19 Thread james qian wang (Arm Technology China)
komeda_format_caps is for describing ARM display specific features and limitations of a specific format, and format_caps will be linked into &komeda_framebuffer like a extension of &drm_format_info. And komed_format_caps_table will be initialized before the enum_resources, since the layer features

[PATCH v2 7/9] drm/komeda: Attach komeda_dev to DRM-KMS

2018-12-19 Thread james qian wang (Arm Technology China)
Add komeda_kms abstracton to attach komeda_dev to DRM-KMS CRTC: according to the komeda_pipeline PLANE: according to komeda_layer (layer input pipeline) PRIVATE_OBJS: komeda_pipeline/component all will be treat as private_objs komeda_kms is for connecting DRM-KMS and komeda_dev, like reporti

[PATCH v2 8/9] drm/doc: Add initial komeda driver documentation

2018-12-19 Thread james qian wang (Arm Technology China)
v2: Some editing changes according to Randy Dunlap's comments Signed-off-by: James (Qian) Wang --- Documentation/gpu/drivers.rst| 1 + Documentation/gpu/komeda-kms.rst | 488 +++ 2 files changed, 489 insertions(+) create mode 100644 Documentation/gpu/komeda-kms

[PATCH v2 6/9] drm/komeda: Add komeda_framebuffer

2018-12-19 Thread james qian wang (Arm Technology China)
komeda_framebuffer is for extending drm_framebuffer to add komeda own attributes and komeda specific fb handling. Signed-off-by: James (Qian) Wang --- drivers/gpu/drm/arm/display/komeda/Makefile | 3 +- .../arm/display/komeda/komeda_framebuffer.c | 165 ++ .../arm/display/k

[PATCH v2 9/9] MAINTAINERS: Add maintainer for arm komeda driver

2018-12-19 Thread james qian wang (Arm Technology China)
v2: Adjusted the position of KOMEDA by alphabetical order Signed-off-by: James (Qian) Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 254b7b267731..e48c2e5fd29f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1124,6 +1124,15 @@ S:

Re: [PATCH v2 2/9] dt/bindings: drm/komeda: Add DT bindings for ARM display processor D71

2018-12-20 Thread james qian wang (Arm Technology China)
On Wed, Dec 19, 2018 at 07:55:44AM -0600, Rob Herring wrote: > On Wed, Dec 19, 2018 at 6:33 AM james qian wang (Arm Technology China) > wrote: > > > > Add DT bindings documentation for the ARM display processor D71 and later > > IPs. > > > &

[PATCH v3 0/9] Overview of Arm komeda display driver

2018-12-21 Thread james qian wang (Arm Technology China)
This is the first patchset of ARM new komeda display driver, this patchset added all basic structure of komeda, relationship of DRM-KMS with komeda, for tring to give a brife overview of komeda-driver. komeda is for supporting the ARM display processor D71 and later IPs, Since from D71, Arm displa

[PATCH v3 4/9] drm/komeda: Add DT parsing

2018-12-21 Thread james qian wang (Arm Technology China)
Parse DT and initialize corresponding dev/pipeline attributes. Changes in v3: - Fixed style problem found by checkpatch.pl --strict. Changes in v2: - Unified abbreviation of "pipeline" to "pipe". Signed-off-by: James (Qian) Wang --- .../gpu/drm/arm/display/komeda/komeda_dev.c | 76 ++

[PATCH v3 2/9] dt/bindings: drm/komeda: Add DT bindings for ARM display processor D71

2018-12-21 Thread james qian wang (Arm Technology China)
Add DT bindings documentation for the ARM display processor D71 and later IPs. Signed-off-by: James (Qian) Wang Changes in v3: - Deleted unnecessary property: interrupt-names. - Dropped 'ports' and moving 'port' up a level. --- .../bindings/display/arm/arm,komeda.txt | 79

[PATCH v3 6/9] drm/komeda: Add komeda_framebuffer

2018-12-21 Thread james qian wang (Arm Technology China)
komeda_framebuffer is for extending drm_framebuffer to add komeda own attributes and komeda specific fb handling. Changes in v3: - Fixed style problem found by checkpatch.pl --strict. Signed-off-by: James (Qian) Wang --- drivers/gpu/drm/arm/display/komeda/Makefile | 3 +- .../arm/display/ko

[PATCH v3 5/9] drm/komeda: Add komeda_format_caps for format handling

2018-12-21 Thread james qian wang (Arm Technology China)
komeda_format_caps is for describing ARM display specific features and limitations of a specific format, and format_caps will be linked into &komeda_framebuffer like a extension of &drm_format_info. And komed_format_caps_table will be initialized before the enum_resources, since the layer features

[PATCH v3 7/9] drm/komeda: Attach komeda_dev to DRM-KMS

2018-12-21 Thread james qian wang (Arm Technology China)
Add komeda_kms abstracton to attach komeda_dev to DRM-KMS CRTC: according to the komeda_pipeline PLANE: according to komeda_layer (layer input pipeline) PRIVATE_OBJS: komeda_pipeline/component all will be treat as private_objs komeda_kms is for connecting DRM-KMS and komeda_dev, like reporti

[PATCH v3 9/9] MAINTAINERS: Add maintainer for arm komeda driver

2018-12-21 Thread james qian wang (Arm Technology China)
v2: Adjusted the position of KOMEDA by alphabetical order Signed-off-by: James (Qian) Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 254b7b267731..e48c2e5fd29f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1124,6 +1124,15 @@ S:

[PATCH v3 8/9] drm/doc: Add initial komeda driver documentation

2018-12-21 Thread james qian wang (Arm Technology China)
v2: Some editing changes according to Randy Dunlap's comments Signed-off-by: James (Qian) Wang --- Documentation/gpu/drivers.rst| 1 + Documentation/gpu/komeda-kms.rst | 488 +++ 2 files changed, 489 insertions(+) create mode 100644 Documentation/gpu/komeda-kms

[PATCH v3 3/9] drm/komeda: Build komeda to be a platform module

2018-12-21 Thread james qian wang (Arm Technology China)
Implement a simple wrapper for platform module to build komeda to module, Also add a very simple D71 layer code to show how to discover a product. Komeda driver direct bind the product ENTRY function xxx_identity to DT compatible name like: d71_product = { .product_id = MALIDP_D71_PRODUCT_

[PATCH v3 1/9] drm/komeda: komeda_dev/pipeline/component definition and initialzation

2018-12-21 Thread james qian wang (Arm Technology China)
1. Added a brief definition of komeda_dev/pipeline/component, this change didn't add the detailed component features and capabilities, which will be added in the following changes. 2. Corresponding resources discovery and initialzation functions. Signed-off-by: James (Qian) Wang Changes in

[PATCH v3 3/9] drm/komeda: Build komeda to be a platform module

2018-12-21 Thread james qian wang (Arm Technology China)
Implement a simple wrapper for platform module to build komeda to module, Also add a very simple D71 layer code to show how to discover a product. Komeda driver direct bind the product ENTRY function xxx_identity to DT compatible name like: d71_product = { .product_id = MALIDP_D71_PRODUCT_

[PATCH v3 7/9] drm/komeda: Attach komeda_dev to DRM-KMS

2018-12-21 Thread james qian wang (Arm Technology China)
Add komeda_kms abstracton to attach komeda_dev to DRM-KMS CRTC: according to the komeda_pipeline PLANE: according to komeda_layer (layer input pipeline) PRIVATE_OBJS: komeda_pipeline/component all will be treat as private_objs komeda_kms is for connecting DRM-KMS and komeda_dev, like reporti

Re: [PATCH v3 2/9] dt/bindings: drm/komeda: Add DT bindings for ARM display processor D71

2018-12-26 Thread james qian wang (Arm Technology China)
On Mon, Dec 24, 2018 at 08:00:51PM +0800, Liviu Dudau wrote: > On Fri, Dec 21, 2018 at 09:59:12AM +0000, james qian wang (Arm Technology > China) wrote: > > Add DT bindings documentation for the ARM display processor D71 and later > > IPs. > > > > Si

Re: [PATCH v3 1/9] drm/komeda: komeda_dev/pipeline/component definition and initialzation

2018-12-26 Thread james qian wang (Arm Technology China)
On Mon, Dec 24, 2018 at 07:57:41PM +0800, Liviu Dudau wrote: > On Fri, Dec 21, 2018 at 09:58:55AM +0000, james qian wang (Arm Technology > China) wrote: > > 1. Added a brief definition of komeda_dev/pipeline/component, this change > >didn't add the detailed component fe

Re: [PATCH v3 7/9] drm/komeda: Attach komeda_dev to DRM-KMS

2018-12-26 Thread james qian wang (Arm Technology China)
On Mon, Dec 24, 2018 at 08:32:14PM +0800, Liviu Dudau wrote: > On Fri, Dec 21, 2018 at 10:00:33AM +0000, james qian wang (Arm Technology > China) wrote: > > Add komeda_kms abstracton to attach komeda_dev to DRM-KMS > > CRTC: according to the komeda_pipeline > &g

Re: [PATCH v3 7/9] drm/komeda: Attach komeda_dev to DRM-KMS

2018-12-27 Thread james qian wang (Arm Technology China)
On Thu, Dec 27, 2018 at 10:31:52PM +0800, Liviu Dudau wrote: > On Thu, Dec 27, 2018 at 07:09:07AM +0000, james qian wang (Arm Technology > China) wrote: > > On Mon, Dec 24, 2018 at 08:32:14PM +0800, Liviu Dudau wrote: > > > On Fri, Dec 21, 2018 at 10:00:33AM +0000, james qian

Re: [PATCH v3 9/9] MAINTAINERS: Add maintainer for arm komeda driver

2018-12-28 Thread james qian wang (Arm Technology China)
On Mon, Dec 24, 2018 at 02:05:43PM +0100, Daniel Vetter wrote: > On Mon, Dec 24, 2018 at 1:33 PM Liviu Dudau wrote: > > > > On Fri, Dec 21, 2018 at 10:01:06AM +0000, james qian wang (Arm Technology > > China) wrote: > > > v2: Adjusted the position o

[PATCH 0/9] Overview of Arm komeda display driver

2019-01-03 Thread james qian wang (Arm Technology China)
or CHIP-specific stuff, easy for adding new chipset or IP in future. v4 - Address Liviu and Daniel's comments. v3: - Fixed style problem found by checkpatch.pl --strict. - Updated DT binding document according to Rob Herring's comments. v2: - Use "pipe" (to replace "ppl

[PATCH v4 0/9] Overview of Arm komeda display driver

2019-01-03 Thread james qian wang (Arm Technology China)
or CHIP-specific stuff, easy for adding new chipset or IP in future. v4 - Address Liviu and Daniel's comments. v3: - Fixed style problem found by checkpatch.pl --strict. - Updated DT binding document according to Rob Herring's comments. v2: - Use "pipe" (to replace "ppl

[PATCH v4 3/9] drm/komeda: Build komeda to be a platform module

2019-01-03 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Implement a simple wrapper for platform module to build komeda to module, Also add a very simple D71 layer code to show how to discover a product. Komeda driver direct bind the product ENTRY function xxx_identity to DT compatible

[PATCH v4 2/9] dt/bindings: drm/komeda: Add DT bindings for ARM display processor D71

2019-01-03 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Add DT bindings documentation for the ARM display processor D71 and later IPs. Changes in v4: - Deleted unnecessary address-cells, size-cells [Liviu Dudau] Changes in v3: - Deleted unnecessary property: interrupt-names. - Dropped &

[PATCH v4 1/9] drm/komeda: komeda_dev/pipeline/component definition and initialzation

2019-01-03 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" 1. Added a brief definition of komeda_dev/pipeline/component, this change didn't add the detailed component features and capabilities, which will be added in the following changes. 2. Corresponding resources discovery an

[PATCH v4 4/9] drm/komeda: Add DT parsing

2019-01-03 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Parse DT and initialize corresponding dev/pipeline attributes. Changes in v4: - Rebase. Changes in v3: - Fixed style problem found by checkpatch.pl --strict. Changes in v2: - Unified abbreviation of "pipeline" to "pip

[PATCH v4 7/9] drm/komeda: Attach komeda_dev to DRM-KMS

2019-01-03 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Add komeda_kms abstracton to attach komeda_dev to DRM-KMS CRTC: according to the komeda_pipeline PLANE: according to komeda_layer (layer input pipeline) PRIVATE_OBJS: komeda_pipeline/component all will be treat as private_objs kom

[PATCH v4 6/9] drm/komeda: Add komeda_framebuffer

2019-01-03 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" komeda_framebuffer is for extending drm_framebuffer to add komeda own attributes and komeda specific fb handling. Changes in v3: - Fixed style problem found by checkpatch.pl --strict. Signed-off-by: James Qian Wang (Arm Technology China)

[PATCH v4 5/9] drm/komeda: Add komeda_format_caps for format handling

2019-01-03 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" komeda_format_caps is for describing ARM display specific features and limitations of a specific format, and format_caps will be linked into &komeda_framebuffer like a extension of &drm_format_info. And komed_format_caps_table w

[PATCH v4 9/9] MAINTAINERS: Add maintainer for Arm komeda driver

2019-01-03 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" v4: Added git tree [Daniel Vetter] v2: Adjusted the position of KOMEDA by alphabetical order Signed-off-by: James Qian Wang (Arm Technology China) Acked-by: Liviu Dudau --- MAINTAINERS | 10 ++ 1 file changed, 10 insertion

[PATCH v4 8/9] drm/doc: Add initial komeda driver documentation

2019-01-03 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" v2: Some editing changes according to Randy Dunlap's comments Signed-off-by: James Qian Wang (Arm Technology China) --- Documentation/gpu/drivers.rst| 1 + Documentation/gpu/komeda-kms.rst | 488 +

[PATCH v1 8/9] drm/doc: Add initial komeda driver documentation

2018-12-05 Thread james qian wang (Arm Technology China)
Signed-off-by: James (Qian) Wang --- Documentation/gpu/drivers.rst| 1 + Documentation/gpu/komeda-kms.rst | 483 +++ 2 files changed, 484 insertions(+) create mode 100644 Documentation/gpu/komeda-kms.rst diff --git a/Documentation/gpu/drivers.rst b/Documentatio

[PATCH v1 8/9] drm/doc: Add initial komeda driver documentation

2018-12-05 Thread james qian wang (Arm Technology China)
Signed-off-by: James (Qian) Wang --- Documentation/gpu/drivers.rst| 1 + Documentation/gpu/komeda-kms.rst | 483 +++ 2 files changed, 484 insertions(+) create mode 100644 Documentation/gpu/komeda-kms.rst diff --git a/Documentation/gpu/drivers.rst b/Documentatio