drm/vc4: hdmi: Remove vc4_hdmi_encoder
authorJosé Expósito <jose.exposito89@gmail.com>
Wed, 20 Apr 2022 11:45:00 +0000 (13:45 +0200)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Mon, 19 Sep 2022 19:33:09 +0000 (20:33 +0100)
commit21aa2f8a0477a309f4baa2fd6ac6a67d29dc9b49
treec851440f05d2ec57260da222ca4fb2ec50421da4
parent90cc82e50101dc6e943b90776b3dc542ee8105f9
drm/vc4: hdmi: Remove vc4_hdmi_encoder

The vc4_hdmi_encoder struct was used exclusively to cache the value
returned by drm_detect_hdmi_monitor() in order to avoid calling it
multiple times.

Now that drm_detect_hdmi_monitor() has been replaced with
drm_display_info.is_hdmi, there is no need to have an extra struct.

Remove vc4_hdmi_encoder.

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220420114500.187664-3-jose.exposito89@gmail.com
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_hdmi.h