linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] drm/vc4: hdmi: Replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi
@ 2022-04-20 11:44 José Expósito
  2022-04-20 11:44 ` [PATCH v3 1/2] drm/vc4: hdmi: Replace drm_detect_hdmi_monitor() with is_hdmi José Expósito
  2022-04-20 11:45 ` [PATCH v3 2/2] drm/vc4: hdmi: Remove vc4_hdmi_encoder José Expósito
  0 siblings, 2 replies; 5+ messages in thread
From: José Expósito @ 2022-04-20 11:44 UTC (permalink / raw)
  To: emma
  Cc: mripard, laurent.pinchart, airlied, daniel, p.zabel, dri-devel,
	linux-kernel, José Expósito

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/20220406165514.6106-1-jose.exposito89@gmail.com/

v2: https://lore.kernel.org/dri-devel/20220415154745.170597-1-jose.exposito89@gmail.com/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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-21  7:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20 11:44 [PATCH v3 0/2] drm/vc4: hdmi: Replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi José Expósito
2022-04-20 11:44 ` [PATCH v3 1/2] drm/vc4: hdmi: Replace drm_detect_hdmi_monitor() with is_hdmi José Expósito
2022-04-21  7:07   ` (subset) " Maxime Ripard
2022-04-20 11:45 ` [PATCH v3 2/2] drm/vc4: hdmi: Remove vc4_hdmi_encoder José Expósito
2022-04-21  7:07   ` (subset) " Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).