[PATCH v10 00/13] MT8173 DRM support
Philipp Zabel
p.zabel at pengutronix.de
Wed Feb 3 11:25:49 PST 2016
Hi,
this MT8173 DRM update gets rebased onto v4.5-rc1, fixes a few issues
and addresses review comments from the last round. The custom GEM creation
IOCTL patch has been dropped and dmabuf sg import support has been added.
The RDMA code has been moved into its own driver so it can grow into a more
active role in the future.
Changes since v9:
- rebased onto v4.5-rc1
- initially disable all planes to fix an iommu warning issue
- store crtc in ovl so we don't have to look it up every irq
- change the ovl input color format setup
- merge layer_on/off component ops into layer_config
- only set pending planes if at least one plane has pending.config set
- add support for the prime fd import ioctl
- remove mtk_drm_crtc_check_flush, merged into crtc atomic_flush
- move the rdma code out into a separate driver, this is expected to grow
- don't crash when components are disabled in the device tree
- don't crash on setversion ioctl (drop set_busid)
- don't crash on cleanup if the connector setup was delegated to the bridge
- fix hdmi no signal after suspend/resume issue
- fix hdmi no audio output from external display issue
- remove flt_n_5v gpio and irq
- dropped hack to call __invoke_psci_fn_smc, use arm_smccc_smc instead
- move dpi0 output port and endpoint connection to hdmi0 into the hdmi patch
- disable dpi0, dsi0, mipi_tx0/1, cec, hdmi_phy, and hdmi0 nodes by default
- remove hdmi flt_5v pin setup
- various fixes
The following patch are needed to cleanly apply the device tree changes on
top of v4.5-rc1:
https://patchwork.kernel.org/patch/8120951/ ("dts: mt8173: Add iommu/smi nodes for mt8173")
And to build:
https://patchwork.kernel.org/patch/8120901/ ("dt-bindings: mediatek: Add smi dts binding")
https://patchwork.kernel.org/patch/8120911/ ("memory: mediatek: Add SMI driver")
regards
Philipp
CK Hu (5):
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
arm64: dts: mt8173: Add display subsystem related nodes
arm64: dts: mt8173: Add HDMI related nodes
Jie Qiu (3):
drm/mediatek: Add DPI sub driver
drm/mediatek: Add HDMI support
drm/mediatek: enable hdmi output control bit
Philipp Zabel (5):
dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding
clk: mediatek: make dpi0_sel propagate rate changes
clk: mediatek: Add hdmi_ref HDMI PHY PLL reference clock output
dt-bindings: hdmi-connector: add DDC I2C bus phandle documentation
clk: mediatek: remove hdmitx_dig_cts from TOP clocks
.../bindings/display/connector/hdmi-connector.txt | 1 +
.../bindings/display/mediatek/mediatek,disp.txt | 203 +++++
.../bindings/display/mediatek/mediatek,dpi.txt | 35 +
.../bindings/display/mediatek/mediatek,dsi.txt | 60 ++
.../bindings/display/mediatek/mediatek,hdmi.txt | 148 ++++
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 304 ++++++++
drivers/clk/mediatek/clk-mt8173.c | 8 +-
drivers/clk/mediatek/clk-mtk.h | 7 +-
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/mediatek/Kconfig | 22 +
drivers/gpu/drm/mediatek/Makefile | 23 +
drivers/gpu/drm/mediatek/mtk_cec.c | 245 ++++++
drivers/gpu/drm/mediatek/mtk_cec.h | 25 +
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 | 757 ++++++++++++++++++
drivers/gpu/drm/mediatek/mtk_dpi.h | 85 ++
drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 228 ++++++
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 576 ++++++++++++++
drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 32 +
drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 355 +++++++++
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 | 583 ++++++++++++++
drivers/gpu/drm/mediatek/mtk_drm_drv.h | 56 ++
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 | 266 +++++++
drivers/gpu/drm/mediatek/mtk_drm_gem.h | 59 ++
drivers/gpu/drm/mediatek/mtk_drm_hdmi_drv.c | 579 ++++++++++++++
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 | 866 +++++++++++++++++++++
drivers/gpu/drm/mediatek/mtk_dsi.h | 58 ++
drivers/gpu/drm/mediatek/mtk_hdmi.c | 479 ++++++++++++
drivers/gpu/drm/mediatek/mtk_hdmi.h | 221 ++++++
drivers/gpu/drm/mediatek/mtk_hdmi_ddc_drv.c | 362 +++++++++
drivers/gpu/drm/mediatek/mtk_hdmi_hw.c | 664 ++++++++++++++++
drivers/gpu/drm/mediatek/mtk_hdmi_hw.h | 73 ++
drivers/gpu/drm/mediatek/mtk_hdmi_regs.h | 222 ++++++
drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 487 ++++++++++++
drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c | 505 ++++++++++++
include/dt-bindings/clock/mt8173-clk.h | 3 +-
45 files changed, 10040 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 Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi.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_cec.c
create mode 100644 drivers/gpu/drm/mediatek/mtk_cec.h
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.h
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_hdmi_drv.c
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_dsi.h
create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi.c
create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi.h
create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi_ddc_drv.c
create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi_hw.c
create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi_hw.h
create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi_regs.h
create mode 100644 drivers/gpu/drm/mediatek/mtk_mipi_tx.c
create mode 100644 drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c
--
2.7.0.rc3
More information about the Linux-mediatek
mailing list