[PULL] malidp-next

2019-03-29 Thread Liviu Dudau
Hi DRM maintainers,

This pull requests adds initial Mali D71 support into the Arm "komeda" DRM
driver. The code has been reviewed at the end of last year, I just been
too slow with pushing it into mainline. Since it started baking in
linux-next we had a kbuild-bot issue raised and one from Joe Perches on
the MAINTAINERS entry, for which I'm including fixes here.

Please pull,
Liviu


The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b:

  Linux 5.1-rc1 (2019-03-17 14:22:26 -0700)

are available in the Git repository at:

  git://linux-arm.org/linux-ld.git for-upstream/mali-dp

for you to fetch changes up to e8e3cc7d39ff5e0c0a9ec790f9d6be4c02309c68:

  MAINTAINERS: Fix pattern for Documentation path for Arm Mali Komeda 
(2019-03-29 16:18:06 +)


Liviu Dudau (2):
  arm/komeda: Compile komeda_debugfs_init() only if CONFIG_DEBUG_FS is 
enabled
  MAINTAINERS: Fix pattern for Documentation path for Arm Mali Komeda

james qian wang (Arm Technology China) (7):
  drm/komeda: Add d71_enum_resources and d71_cleanup
  drm/komeda: Add d71 layer
  drm/komeda: Add d71 compiz component
  drm/komeda: Add D71 improc and timing_ctrlr
  drm/komeda: Add komeda_assemble_pipelines
  drm/komeda: Add irq handling
  drm/komeda: Add debugfs node "register" for register dump

 MAINTAINERS|   2 +-
 drivers/gpu/drm/arm/display/include/malidp_utils.h |  31 +
 drivers/gpu/drm/arm/display/komeda/Makefile|   3 +-
 .../gpu/drm/arm/display/komeda/d71/d71_component.c | 684 +
 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c   | 377 +++-
 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.h   |  50 ++
 drivers/gpu/drm/arm/display/komeda/d71/d71_regs.h  | 530 
 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c   |  18 +
 drivers/gpu/drm/arm/display/komeda/komeda_dev.c|  66 ++
 drivers/gpu/drm/arm/display/komeda/komeda_dev.h|  51 ++
 drivers/gpu/drm/arm/display/komeda/komeda_kms.c|  38 +-
 drivers/gpu/drm/arm/display/komeda/komeda_kms.h|   5 +
 .../gpu/drm/arm/display/komeda/komeda_pipeline.c   | 111 +++-
 .../gpu/drm/arm/display/komeda/komeda_pipeline.h   |  48 +-
 14 files changed, 1983 insertions(+), 31 deletions(-)
 create mode 100644 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c
 create mode 100644 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.h
 create mode 100644 drivers/gpu/drm/arm/display/komeda/d71/d71_regs.h
-- 

| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---
¯\_(ツ)_/¯
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] malidp-next

2019-01-31 Thread Liviu Dudau
Hi DRM maintainers,

This pull includes the new Arm "komeda" DRM driver. It is currently hosted
in the same repo as the other "mali-dp" driver because it is the next
iteration of the IP.

Please note that due to changes in the DRM framework, after merging the
tree you will need to apply the following patch to resolve the build
failure caused by commit 

  b962a12050a3 ("drm/atomic: integrate modeset lock with private objects")

--8<-
From: Stephen Rothwell 
Date: Tue, 15 Jan 2019 10:42:04 +1100
Subject: [PATCH] drm/komeda: merge fix for drm_atomic_private_obj_init() API 
change

Signed-off-by: Stephen Rothwell 
Acked-by: Liviu Dudau 
---
 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c 
b/drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c
index 9edfd6ab0c12..f1c9e3fefa86 100644
--- a/drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c
+++ b/drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c
@@ -45,7 +45,7 @@ static int komeda_pipeline_obj_add(struct komeda_kms_dev *kms,
return -ENOMEM;
 
st->pipe = pipe;
-   drm_atomic_private_obj_init(>obj, >obj,
+   drm_atomic_private_obj_init(>base, >obj, >obj,
_pipeline_obj_funcs);
 
return 0;
--
2.20.1

--8<-

Thanks,

Liviu


The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c:

  Linux 5.0-rc1 (2019-01-06 17:08:20 -0800)

are available in the Git repository at:

  git://linux-arm.org/linux-ld.git for-upstream/mali-dp

for you to fetch changes up to dcc9d76b6d834d06a317e27fa8242d7e009135ac:

  drm/komeda: Off by one in komeda_fb_get_pixel_addr() (2019-01-30 13:46:17 
+)


Brian Starkey (1):
  drm/afbc: Add AFBC modifier usage documentation

Dan Carpenter (1):
  drm/komeda: Off by one in komeda_fb_get_pixel_addr()

Liviu Dudau (1):
  drm: arm/komeda: Remove IRQ parsing from initial series

james qian wang (Arm Technology China) (10):
  drm/arm: Delete redundant CONFIG_DRM_ARM
  drm/komeda: komeda_dev/pipeline/component definition and initialzation
  dt/bindings: drm/komeda: Add DT bindings for ARM display processor D71
  drm/komeda: Build komeda to be a platform module
  drm/komeda: Add DT parsing
  drm/komeda: Add komeda_format_caps for format handling
  drm/komeda: Add komeda_framebuffer
  drm/komeda: Attach komeda_dev to DRM-KMS
  drm/doc: Add initial komeda driver documentation
  MAINTAINERS: Add maintainer for Arm komeda driver

 .../devicetree/bindings/display/arm,komeda.txt |  73 +++
 Documentation/gpu/afbc.rst | 235 ++
 Documentation/gpu/drivers.rst  |   2 +
 Documentation/gpu/komeda-kms.rst   | 488 +
 MAINTAINERS|  15 +-
 drivers/gpu/drm/Makefile   |   2 +-
 drivers/gpu/drm/arm/Kconfig|  12 +-
 drivers/gpu/drm/arm/Makefile   |   1 +
 drivers/gpu/drm/arm/display/Kbuild |   3 +
 drivers/gpu/drm/arm/display/Kconfig|  14 +
 drivers/gpu/drm/arm/display/include/malidp_io.h|  42 ++
 .../gpu/drm/arm/display/include/malidp_product.h   |  23 +
 drivers/gpu/drm/arm/display/include/malidp_utils.h |  16 +
 drivers/gpu/drm/arm/display/komeda/Makefile|  21 +
 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c   | 111 +
 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c   | 106 +
 drivers/gpu/drm/arm/display/komeda/komeda_dev.c| 186 
 drivers/gpu/drm/arm/display/komeda/komeda_dev.h| 110 +
 drivers/gpu/drm/arm/display/komeda/komeda_drv.c| 144 ++
 .../drm/arm/display/komeda/komeda_format_caps.c|  75 
 .../drm/arm/display/komeda/komeda_format_caps.h|  89 
 .../drm/arm/display/komeda/komeda_framebuffer.c| 165 +++
 .../drm/arm/display/komeda/komeda_framebuffer.h|  34 ++
 drivers/gpu/drm/arm/display/komeda/komeda_kms.c| 167 +++
 drivers/gpu/drm/arm/display/komeda/komeda_kms.h| 113 +
 .../gpu/drm/arm/display/komeda/komeda_pipeline.c   | 200 +
 .../gpu/drm/arm/display/komeda/komeda_pipeline.h   | 359 +++
 drivers/gpu/drm/arm/display/komeda/komeda_plane.c  | 109 +
 .../drm/arm/display/komeda/komeda_private_obj.c|  88 
 include/uapi/drm/drm_fourcc.h  |   3 +
 30 files changed, 2998 insertions(+), 8 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/arm,komeda.txt
 create mode 100644 Documentation/gpu/afbc.rst
 create mode 100644 Documentation/gpu/komeda-kms.rst
 create mode 100644 drivers/gpu/drm/arm/display/Kbuild
 create 

[GIT PULL] malidp-next-fixes

2018-10-05 Thread Liviu Dudau
Hi Dave,

I've realised that the commit 3dae1c0919d8 ("drm/arm/malidp: Implemented
the size validation for AFBC framebuffers") got bungled up in the
upstreaming process and it was missing an important line from the
function that calculates the size of the AFBC framebuffer. The patch to
fix it has now been added into my repo, please pull into drm-next when
convenient.

Many thanks,
Liviu


The following changes since commit c530174b90fa3bcaa83d168b001b574bcb2da021:

  Merge branch 'for-upstream/mali-dp' of git://linux-arm.org/linux-ld into 
drm-next (2018-10-04 11:31:05 +1000)

are available in the Git repository at:

  git://linux-arm.org/linux-ld.git for-upstream/mali-dp

for you to fetch changes up to fd99bd8b805c7c01af7dd66e22bb31c8cfe64310:

  drm: malidp: Add the size of the superblocks when calculating total size for 
AFBC buffers (2018-10-05 15:39:51 +0100)


Liviu Dudau (1):
  drm: malidp: Add the size of the superblocks when calculating total size 
for AFBC buffers

 drivers/gpu/drm/arm/malidp_drv.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-- 

| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---
¯\_(ツ)_/¯
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel