[GIT PULL v3] MT8173 DRM support

Daniel Vetter daniel at ffwll.ch
Mon May 9 09:06:13 UTC 2016


On Mon, May 09, 2016 at 10:54:51AM +0200, Philipp Zabel wrote:
> Hi Dave,
> 
> third try and last minute pull request for v4.7. I have addressed
> Daniel's comment about drm_dev_register()/drm_connector_register_all(),
> but I've missed his request to use gem_free_object_unlocked() until just
> now. If that can be fixed up afterwards, please consider merging this
> tag with initial MediaTek MT8173 DRM support.
> 
> Changes since v16:
>  - Call drm_dev_register() after mtk_drm_kms_init() in mtk_drm_drv
>  - Call drm_connector_register_all() in mtk_drm_drv
>  - Drop drm_connector_(un)register calls from mtk_dsi

Yeah those are the only nitpicks I spotted on the last round, should be
all good now.
-Daniel

> 
> regards
> Philipp
> 
> The following changes since commit 0552f7651bc233e5407ab06ba97a9d7c25e19580:
> 
>   drm/i915/mst: use reference counted connectors. (v3) (2016-05-05 12:52:07 +1000)
> 
> are available in the git repository at:
> 
>   git://git.pengutronix.de/git/pza/linux.git tags/mediatek-drm-2016-05-09
> 
> for you to fetch changes up to ac4b1280319c3032787ac95bfeff14a425c417bf:
> 
>   clk: mediatek: remove hdmitx_dig_cts from TOP clocks (2016-05-06 17:47:42 +0200)
> 
> ----------------------------------------------------------------
> MT8173 DRM support
> 
> - device tree binding documentation for all MT8173 display
>   subsystem components
> - basic mediatek-drm driver for MT8173 with two optional,
>   currently fixed output paths:
> - DSI encoder support for DSI and (via bridge) eDP panels
> - DPI encoder support for output to HDMI bridge
> - necessary clock tree changes for the DPI->HDMI path
> - export mtk-smi functions used by mediatek-drm
> 
> ----------------------------------------------------------------
> CK Hu (3):
>       dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding
>       drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.
>       drm/mediatek: Add DSI sub driver
> 
> Jie Qiu (1):
>       drm/mediatek: Add DPI sub driver
> 
> Philipp Zabel (4):
>       memory: mtk-smi: export mtk_smi_larb_get/put
>       clk: mediatek: make dpi0_sel propagate rate changes
>       clk: mediatek: Add hdmi_ref HDMI PHY PLL reference clock output
>       clk: mediatek: remove hdmitx_dig_cts from TOP clocks
> 
>  .../bindings/display/mediatek/mediatek,disp.txt    | 203 +++++
>  .../bindings/display/mediatek/mediatek,dpi.txt     |  35 +
>  .../bindings/display/mediatek/mediatek,dsi.txt     |  60 ++
>  drivers/clk/mediatek/clk-mt8173.c                  |  12 +-
>  drivers/clk/mediatek/clk-mtk.h                     |  15 +-
>  drivers/gpu/drm/Kconfig                            |   2 +
>  drivers/gpu/drm/Makefile                           |   1 +
>  drivers/gpu/drm/mediatek/Kconfig                   |  16 +
>  drivers/gpu/drm/mediatek/Makefile                  |  14 +
>  drivers/gpu/drm/mediatek/mtk_disp_ovl.c            | 302 +++++++
>  drivers/gpu/drm/mediatek/mtk_disp_rdma.c           | 240 ++++++
>  drivers/gpu/drm/mediatek/mtk_dpi.c                 | 769 +++++++++++++++++
>  drivers/gpu/drm/mediatek/mtk_dpi_regs.h            | 228 +++++
>  drivers/gpu/drm/mediatek/mtk_drm_crtc.c            | 582 +++++++++++++
>  drivers/gpu/drm/mediatek/mtk_drm_crtc.h            |  32 +
>  drivers/gpu/drm/mediatek/mtk_drm_ddp.c             | 353 ++++++++
>  drivers/gpu/drm/mediatek/mtk_drm_ddp.h             |  41 +
>  drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c        | 225 +++++
>  drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h        | 150 ++++
>  drivers/gpu/drm/mediatek/mtk_drm_drv.c             | 567 +++++++++++++
>  drivers/gpu/drm/mediatek/mtk_drm_drv.h             |  60 ++
>  drivers/gpu/drm/mediatek/mtk_drm_fb.c              | 165 ++++
>  drivers/gpu/drm/mediatek/mtk_drm_fb.h              |  23 +
>  drivers/gpu/drm/mediatek/mtk_drm_gem.c             | 269 ++++++
>  drivers/gpu/drm/mediatek/mtk_drm_gem.h             |  59 ++
>  drivers/gpu/drm/mediatek/mtk_drm_plane.c           | 240 ++++++
>  drivers/gpu/drm/mediatek/mtk_drm_plane.h           |  59 ++
>  drivers/gpu/drm/mediatek/mtk_dsi.c                 | 913 +++++++++++++++++++++
>  drivers/gpu/drm/mediatek/mtk_mipi_tx.c             | 463 +++++++++++
>  drivers/memory/mtk-smi.c                           |   2 +
>  include/dt-bindings/clock/mt8173-clk.h             |   3 +-
>  31 files changed, 6098 insertions(+), 5 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt
>  create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt
>  create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.txt
>  create mode 100644 drivers/gpu/drm/mediatek/Kconfig
>  create mode 100644 drivers/gpu/drm/mediatek/Makefile
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_ovl.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_rdma.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_dpi.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_dpi_regs.h
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_crtc.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_crtc.h
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp.h
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_drv.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_drv.h
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_fb.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_fb.h
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_gem.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_gem.h
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_plane.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_plane.h
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_dsi.c
>  create mode 100644 drivers/gpu/drm/mediatek/mtk_mipi_tx.c
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list