linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND 00/10]  drm/msm: A handful of dpu fixes
@ 2018-02-21 14:55 Sean Paul
       [not found] ` <20180221145534.219625-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Sean Paul @ 2018-02-21 14:55 UTC (permalink / raw)
  To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA
  Cc: jsanka-sgV2jX0FEOL9JmXXK+q4OQ, robdclark-Re5JQEeQqe8AvxtiuMwx3w,
	Sean Paul, hoegsberg-F7+t8E8rja9g9hUCZPvPmw

[RESEND b/c lists.fdo was out of memory]

We've finally got the mtp development kit booting the DPU driver that
was sent upstream last week. Here are some of the patches that were
necessary to do that. There are a bunch more, but they touch downstream
code that is not going upstream (namely dsi-staging and smmu). The
booting kernel can be found at [1].

Once the patches in this series receive some light review, I'll drop
them on for-next at [2].

Thanks,

Sean

[1]- https://cgit.freedesktop.org/~seanpaul/dpu-staging/log/?h=mtp-testing
[2]- https://cgit.freedesktop.org/~seanpaul/dpu-staging/log/?h=for-next

*** BLURB HERE ***

Jeykumar Sankaran (1):
  drm/msm/dpu: Fix writeback compile macros

Sean Paul (9):
  drm/msm: Add displayport files to Makefile
  drm/msm: Include the dpu_dbg header in msm_drv.c
  drm/msm: Change driver name back to msm
  drm/msm: Remove smmu driver init/cleanup from msm_drv
  drm/msm: Defer probe if display component not found
  drm/msm: Fix deadlock calling msm_gem_new()
  drm/msm: Populate kms->irq for dpu
  drm/msm: Sprinkle pm_runtime calls around
  drm/msm: Restore msm_atomic_check hook

 drivers/gpu/drm/msm/Makefile                  | 14 ++++++++++++++
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c      |  3 +++
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c   |  7 ++-----
 .../gpu/drm/msm/disp/dpu1/dpu_hw_reg_dma_v1.c |  2 --
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c       | 19 ++++++++++++++++++-
 drivers/gpu/drm/msm/msm_drv.c                 | 17 +++++++++--------
 6 files changed, 46 insertions(+), 16 deletions(-)

-- 
2.16.1.291.g4437f3f132-goog

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH RESEND 01/10] drm/msm: Add displayport files to Makefile
       [not found] ` <20180221145534.219625-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
@ 2018-02-21 14:55   ` Sean Paul
  2018-02-21 14:55   ` [PATCH RESEND 02/10] drm/msm: Include the dpu_dbg header in msm_drv.c Sean Paul
  1 sibling, 0 replies; 5+ messages in thread
From: Sean Paul @ 2018-02-21 14:55 UTC (permalink / raw)
  To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA
  Cc: jsanka-sgV2jX0FEOL9JmXXK+q4OQ, robdclark-Re5JQEeQqe8AvxtiuMwx3w,
	Sean Paul, hoegsberg-F7+t8E8rja9g9hUCZPvPmw

Still behind a config flag, and ymmv when trying to build them, but
they're present at least.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
---
 drivers/gpu/drm/msm/Makefile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/drivers/gpu/drm/msm/Makefile b/drivers/gpu/drm/msm/Makefile
index d9014441d022..fcd85ae28d66 100644
--- a/drivers/gpu/drm/msm/Makefile
+++ b/drivers/gpu/drm/msm/Makefile
@@ -108,6 +108,20 @@ msm-y := \
 	msm_ringbuffer.o \
 	msm_submitqueue.o
 
+msm-$(CONFIG_DRM_MSM_DP)+= dp/dp_usbpd.o \
+	dp/dp_parser.o \
+	dp/dp_power.o \
+	dp/dp_catalog.o \
+	dp/dp_aux.o \
+	dp/dp_panel.o \
+	dp/dp_link.o \
+	dp/dp_ctrl.o \
+	dp/dp_audio.o \
+	dp/dp_debug.o \
+	dp/dp_display.o \
+	dp/dp_drm.o \
+	dp/dp_hdcp2p2.o
+
 msm_wb-$(CONFIG_DRM_MSM_WRITEBACK) += disp/dpu1/dpu_wb.o \
 				      disp/dpu1/dpu_encoder_phys_wb.o
 
-- 
2.16.1.291.g4437f3f132-goog

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH RESEND 02/10] drm/msm: Include the dpu_dbg header in msm_drv.c
       [not found] ` <20180221145534.219625-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
  2018-02-21 14:55   ` [PATCH RESEND 01/10] drm/msm: Add displayport files to Makefile Sean Paul
@ 2018-02-21 14:55   ` Sean Paul
  1 sibling, 0 replies; 5+ messages in thread
From: Sean Paul @ 2018-02-21 14:55 UTC (permalink / raw)
  To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA
  Cc: jsanka-sgV2jX0FEOL9JmXXK+q4OQ, robdclark-Re5JQEeQqe8AvxtiuMwx3w,
	Sean Paul, hoegsberg-F7+t8E8rja9g9hUCZPvPmw

We'll need to clean up these conditionals further, but at least fix the
compilation error.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
---
 drivers/gpu/drm/msm/msm_drv.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index e1b7e468c3dc..6f2affe5ccff 100644
--- a/drivers/gpu/drm/msm/msm_drv.c
+++ b/drivers/gpu/drm/msm/msm_drv.c
@@ -53,6 +53,9 @@
 #ifdef CONFIG_DRM_MSM_DSI_STAGING
 #include "dsi_display.h"
 #endif
+#ifdef CONFIG_DRM_MSM_DPU
+#include "dpu_dbg.h"
+#endif
 
 /*
  * MSM driver version:
-- 
2.16.1.291.g4437f3f132-goog

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH RESEND 01/10] drm/msm: Add displayport files to Makefile
       [not found] ` <20180221151838.224718-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
@ 2018-02-21 15:18   ` Sean Paul
       [not found]     ` <20180221151838.224718-2-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Sean Paul @ 2018-02-21 15:18 UTC (permalink / raw)
  To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA
  Cc: jsanka-sgV2jX0FEOL9JmXXK+q4OQ, robdclark-Re5JQEeQqe8AvxtiuMwx3w,
	hoegsberg-F7+t8E8rja9g9hUCZPvPmw

Still behind a config flag, and ymmv when trying to build them, but
they're present at least.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
---
 drivers/gpu/drm/msm/Makefile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/drivers/gpu/drm/msm/Makefile b/drivers/gpu/drm/msm/Makefile
index d9014441d022..fcd85ae28d66 100644
--- a/drivers/gpu/drm/msm/Makefile
+++ b/drivers/gpu/drm/msm/Makefile
@@ -108,6 +108,20 @@ msm-y := \
 	msm_ringbuffer.o \
 	msm_submitqueue.o
 
+msm-$(CONFIG_DRM_MSM_DP)+= dp/dp_usbpd.o \
+	dp/dp_parser.o \
+	dp/dp_power.o \
+	dp/dp_catalog.o \
+	dp/dp_aux.o \
+	dp/dp_panel.o \
+	dp/dp_link.o \
+	dp/dp_ctrl.o \
+	dp/dp_audio.o \
+	dp/dp_debug.o \
+	dp/dp_display.o \
+	dp/dp_drm.o \
+	dp/dp_hdcp2p2.o
+
 msm_wb-$(CONFIG_DRM_MSM_WRITEBACK) += disp/dpu1/dpu_wb.o \
 				      disp/dpu1/dpu_encoder_phys_wb.o
 
-- 
2.16.1.291.g4437f3f132-goog

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH RESEND 01/10] drm/msm: Add displayport files to Makefile
       [not found]     ` <20180221151838.224718-2-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
@ 2018-03-08 22:01       ` Jeykumar Sankaran
  0 siblings, 0 replies; 5+ messages in thread
From: Jeykumar Sankaran @ 2018-03-08 22:01 UTC (permalink / raw)
  To: Sean Paul
  Cc: linux-arm-msm-u79uwXL29TY76Z2rM5mHXA,
	robdclark-Re5JQEeQqe8AvxtiuMwx3w,
	freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	hoegsberg-F7+t8E8rja9g9hUCZPvPmw

On 2018-02-21 07:18, Sean Paul wrote:
> Still behind a config flag, and ymmv when trying to build them, but
> they're present at least.
> 
> Signed-off-by: Sean Paul <seanpaul@chromium.org>

Reviewed-by: Jeykumar Sankaran <jsanka@codeaurora.org>

> ---
>  drivers/gpu/drm/msm/Makefile | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/drivers/gpu/drm/msm/Makefile 
> b/drivers/gpu/drm/msm/Makefile
> index d9014441d022..fcd85ae28d66 100644
> --- a/drivers/gpu/drm/msm/Makefile
> +++ b/drivers/gpu/drm/msm/Makefile
> @@ -108,6 +108,20 @@ msm-y := \
>  	msm_ringbuffer.o \
>  	msm_submitqueue.o
> 
> +msm-$(CONFIG_DRM_MSM_DP)+= dp/dp_usbpd.o \
> +	dp/dp_parser.o \
> +	dp/dp_power.o \
> +	dp/dp_catalog.o \
> +	dp/dp_aux.o \
> +	dp/dp_panel.o \
> +	dp/dp_link.o \
> +	dp/dp_ctrl.o \
> +	dp/dp_audio.o \
> +	dp/dp_debug.o \
> +	dp/dp_display.o \
> +	dp/dp_drm.o \
> +	dp/dp_hdcp2p2.o
> +
>  msm_wb-$(CONFIG_DRM_MSM_WRITEBACK) += disp/dpu1/dpu_wb.o \
>  				      disp/dpu1/dpu_encoder_phys_wb.o

-- 
Jeykumar S
_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-08 22:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-21 14:55 [PATCH RESEND 00/10] drm/msm: A handful of dpu fixes Sean Paul
     [not found] ` <20180221145534.219625-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-02-21 14:55   ` [PATCH RESEND 01/10] drm/msm: Add displayport files to Makefile Sean Paul
2018-02-21 14:55   ` [PATCH RESEND 02/10] drm/msm: Include the dpu_dbg header in msm_drv.c Sean Paul
  -- strict thread matches above, loose matches on Subject: below --
2018-02-21 15:18 [PATCH RESEND 00/10] drm/msm: A handful of dpu fixes Sean Paul
     [not found] ` <20180221151838.224718-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-02-21 15:18   ` [PATCH RESEND 01/10] drm/msm: Add displayport files to Makefile Sean Paul
     [not found]     ` <20180221151838.224718-2-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-03-08 22:01       ` Jeykumar Sankaran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).