Skip to content

drm/vc4: hdmi: Replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi

José Expósito dri-devel lkml 3 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied
  2. v22 patches 1 replySuperseded
  3. v11 patch 2 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2drm/vc4: hdmi: Replace drm_detect_hdmi_monitor() with is_hdmidrivers/gpu/drm/vc4/vc4_hdmi.c drivers/gpu/drm/vc4/vc4_hdmi.h+6 -121 reply
2/2drm/vc4: hdmi: Remove vc4_hdmi_encoderdrivers/gpu/drm/vc4/vc4_hdmi.c drivers/gpu/drm/vc4/vc4_hdmi.h+14 -261 reply

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] drm/vc4: hdmi: Replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi

Hi everyone,

These patches replace the calls to drm_detect_hdmi_monitor() with the more efficient drm_display_info.is_hdmi in the VC4 driver and, since this makes the vc4_hdmi_encoder struct redundant, also removes it.

Thanks,
José Expósito

v1: https://lore.kernel.org/dri-devel/[email protected]/

v2: https://lore.kernel.org/dri-devel/[email protected]/T/
Add the ftrace command used in the first patch
Remove vc4_hdmi_encoder.hdmi_monitor
(Thanks to Maxime for suggesting these changes)

v3: Squash the patches present in v2
Remove vc4_hdmi_encoder
(Thanks to Maxime for suggesting these changes)

José Expósito (2):
drm/vc4: hdmi: Replace drm_detect_hdmi_monitor() with is_hdmi drm/vc4: hdmi: Remove vc4_hdmi_encoder

 drivers/gpu/drm/vc4/vc4_hdmi.c | 41 +++++++++++++++-------------------
 drivers/gpu/drm/vc4/vc4_hdmi.h | 17 ++------------
 2 files changed, 20 insertions(+), 38 deletions(-)
Signature · 1 line
2.25.1