drm/msm: A handful of dpu fixes
cover drm/msm: A handful of dpu fixes
[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(-)
Signature · 6 lines
2.16.1.291.g4437f3f132-goog _______________________________________________ Freedreno mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/freedreno
A message that is not in the archive (sent off-list or not yet received): 20180221145534.219625-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org
PATCH RESEND 1/10 drm/msm: Add displayport files to Makefile
Still behind a config flag, and ymmv when trying to build them, but they're present at least.
--- drivers/gpu/drm/msm/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
drivers/gpu/drm/msm/Makefile +14 -0
@@ -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
Signature · 6 lines
2.16.1.291.g4437f3f132-goog _______________________________________________ Freedreno mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/freedreno
PATCH RESEND 2/10 drm/msm: Include the dpu_dbg header in msm_drv.c
In reply to a message not in the archiveWe'll need to clean up these conditionals further, but at least fix the compilation error.
--- drivers/gpu/drm/msm/msm_drv.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/msm/msm_drv.c +3 -0
@@ -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:
Signature · 6 lines
2.16.1.291.g4437f3f132-goog _______________________________________________ Freedreno mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/freedreno