mbox series

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

Message ID 20220421170725.903361-1-jose.exposito89@gmail.com (mailing list archive)
Headers show
Series Replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi | expand

Message

José Expósito April 21, 2022, 5:07 p.m. UTC
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/20220420114500.187664-1-jose.exposito89@gmail.com/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(-)

Comments

Heiko Stübner May 2, 2022, 10:24 p.m. UTC | #1
On Thu, 21 Apr 2022 19:07:20 +0200, José Expósito wrote:
> 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.
> 
> [...]

Applied, thanks!

[2/5] drm/rockchip: inno_hdmi: Replace drm_detect_hdmi_monitor() with is_hdmi
      commit: d449222dd533ca83a3a2f88aafe06fdd8d589280
[3/5] drm/rockchip: rk3066_hdmi: Replace drm_detect_hdmi_monitor() with is_hdmi
      commit: d2eabdb64474c2101953859601794f1ea08ec1d9

Best regards,