Skip to content

Replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi

José Expósito dri-devel linux-arm-kernel linux-rockchip linux-samsung-soc linux-sunxi lkml 1 version Applied

Status from this message: Applied to drm/drm-misc (drm-misc-next).

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5drm/exynos: hdmi: Replace drm_detect_hdmi_monitor() with is_hdmidrivers/gpu/drm/exynos/exynos_hdmi.c+9 -60 replies
2/5drm/rockchip: inno_hdmi: Replace drm_detect_hdmi_monitor() with is_hdmidrivers/gpu/drm/rockchip/inno_hdmi.c+4 -40 replies
3/5drm/rockchip: rk3066_hdmi: Replace drm_detect_hdmi_monitor() with is_hdmidrivers/gpu/drm/rockchip/rk3066_hdmi.c+3 -30 replies
4/5drm/sti/sti_hdmi: Replace drm_detect_hdmi_monitor() with is_hdmidrivers/gpu/drm/sti/sti_hdmi.c drivers/gpu/drm/sti/sti_hdmi.h+4 -50 replies
5/5drm/sun4i: hdmi: Replace drm_detect_hdmi_monitor() with is_hdmidrivers/gpu/drm/sun4i/sun4i_hdmi.h drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c+3 -41 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] Replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi

Hi everyone,

After implementing a similar change in the VC4 driver [1], as suggested by Laurent in the ToDo list [2], I noticed that a similar pattern is used in the Exynos, Rockchip, STI and sun4i drivers.

This patchset replaces drm_detect_hdmi_monitor() with is_hdmi in the mentioned drivers.

Best wishes,
José Expósito

[1] https://lore.kernel.org/dri-devel/[email protected]/T/
[2] https://docs.kernel.org/gpu/todo.html#replace-drm-detect-hdmi-monitor-with-drm-display-info-is-hdmi

José Expósito (5):
drm/exynos: hdmi: Replace drm_detect_hdmi_monitor() with is_hdmi drm/rockchip: inno_hdmi: Replace drm_detect_hdmi_monitor() with
is_hdmi
drm/rockchip: rk3066_hdmi: Replace drm_detect_hdmi_monitor() with
is_hdmi
drm/sti/sti_hdmi: Replace drm_detect_hdmi_monitor() with is_hdmi drm/sun4i: hdmi: Replace drm_detect_hdmi_monitor() with is_hdmi

 drivers/gpu/drm/exynos/exynos_hdmi.c   | 15 +++++++++------
 drivers/gpu/drm/rockchip/inno_hdmi.c   |  8 ++++----
 drivers/gpu/drm/rockchip/rk3066_hdmi.c |  6 +++---
 drivers/gpu/drm/sti/sti_hdmi.c         |  7 ++++---
 drivers/gpu/drm/sti/sti_hdmi.h         |  2 --
 drivers/gpu/drm/sun4i/sun4i_hdmi.h     |  1 -
 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c |  6 +++---
 7 files changed, 23 insertions(+), 22 deletions(-)
Signature · 1 line
2.25.1