Skip to content

RFC drm/mediatek: Add mt8195 DisplayPort driver

Markus Schneider-Pargmann dri-devel linux-arm-kernel linux-mediatek oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: mediatek,dpi: Add mt8195 dpintfDocumentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml+42 -62 replies
2/5drm/mediatek: dpi: Add dpintf supportdrivers/gpu/drm/mediatek/mtk_dpi.c drivers/gpu/drm/mediatek/mtk_dpi_regs.h+247 -472 replies
3/5drm/edid: Add cea_sad helpers for freq/lengthdrivers/gpu/drm/drm_edid.c include/drm/drm_edid.h+73 -20 replies
4/5video/hdmi: Add audio_infoframe packing for DPdrivers/video/hdmi.c include/linux/hdmi.h+73 -180 replies
5/5drm/mediatek: Add mt8195 DisplayPort driverdrivers/gpu/drm/mediatek/Kconfig drivers/gpu/drm/mediatek/Makefile drivers/gpu/drm/mediatek/mtk_dp.c +1 more+6129 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] drm/mediatek: Add mt8195 DisplayPort driver

Hi everyone,

this series is built around the DisplayPort driver. The dpi/dpintf driver and the added helper functions are required for the DisplayPort.

Note that this is an RFC. I would like to have your opinion on the driver and what needs to change. The driver itself has its rough edges that I am currently still working on, especially the training and powerup/down need some work in my opinion. Also the code compiles without an issue but is not fully tested yet.

However I already wanted to reach out for some feedback to see what can and should be improved. I am happy about every comment, thanks for taking the time.

The series is currently based on v5.14-rc5 but it requires other patches to actually work on mt8195 (clock, etc.). A binding documentation is not included yet.

Thanks,
Markus

Markus Schneider-Pargmann (5):
dt-bindings: mediatek,dpi: Add mt8195 dpintf
drm/mediatek: dpi: Add dpintf support
drm/edid: Add cea_sad helpers for freq/length
video/hdmi: Add audio_infoframe packing for DP
drm/mediatek: Add mt8195 DisplayPort driver

 .../display/mediatek/mediatek,dpi.yaml        |   48 +-
 drivers/gpu/drm/drm_edid.c                    |   57 +
 drivers/gpu/drm/mediatek/Kconfig              |    7 +
 drivers/gpu/drm/mediatek/Makefile             |    2 +
 drivers/gpu/drm/mediatek/mtk_dp.c             | 3025 ++++++++++++++++
 drivers/gpu/drm/mediatek/mtk_dp_reg.h         | 3095 +++++++++++++++++
 drivers/gpu/drm/mediatek/mtk_dpi.c            |  282 +-
 drivers/gpu/drm/mediatek/mtk_dpi_regs.h       |   12 +
 drivers/video/hdmi.c                          |   87 +-
 include/drm/drm_edid.h                        |   18 +-
 include/linux/hdmi.h                          |    4 +
 11 files changed, 6564 insertions(+), 73 deletions(-)
 create mode 100644 drivers/gpu/drm/mediatek/mtk_dp.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_dp_reg.h
Signature · 1 line
2.32.0