Skip to content

drm/msm/dpu: clearly document INTF_DP vs INTF_EDP difference

Dmitry Baryshkov dri-devel linux-arm-msm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/msm/dpu: document INTF_EDP/INTF_DP differencedrivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h+8 -01 reply
2/4drm/msm/dpu: drop INTF_TYPE_MAX symboldrivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h+0 -11 reply
3/4drm/msm/dpu: drop obsolete INTF_EDP commentdrivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c+0 -111 reply
4/4drm/msm/dpu: drop INTF_EDP from interface type conditionsdrivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c+2 -31 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStephen BoydAbhinav Kumar
SeriesR-b
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] drm/msm/dpu: clearly document INTF_DP vs INTF_EDP difference

Recent dicussion on the mailing list [1], [2] outlined a need to document which intf type is used for DP and which one is used for eDP interfaces.

This series implements my proposal [3]:

- Keep INTF_EDP reserved for 8x74/8x84
- Use INTF_DP for all contemporary DP and eDP ports
- Documet this in dpu_hw_mdss.h
- Remove INTF_EDP usage in dpu1 driver.

Main reasons behind this proposal:
- It's not always possible to separate eDP and DP. For example INTF_5 on sc7280 is connected to combo eDP/DP PHY.
- Using INTF_EDP would require us to split too many pieces, ending up with a singnificant amount of code duplication...
- ... for nothing. From the DPU point of view there is no difference between DP and eDP interfaces as found on current SoC generations.

[1]: https://lore.kernel.org/linux-arm-msm/[email protected]/
[2]: https://lore.kernel.org/linux-arm-msm/[email protected]/
[3]: https://lore.kernel.org/linux-arm-msm/[email protected]/

Dmitry Baryshkov (4):
drm/msm/dpu: document INTF_EDP/INTF_DP difference drm/msm/dpu: drop INTF_TYPE_MAX symbol drm/msm/dpu: drop obsolete INTF_EDP comment drm/msm/dpu: drop INTF_EDP from interface type conditions

 .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c   | 14 +-------------
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c        |  2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h        |  9 ++++++++-
 3 files changed, 10 insertions(+), 15 deletions(-)
Signature · 1 line
2.34.1