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)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 21 Apr 2022 07:01:16 +0000 (09:01 +0200)
commit8687b535553ce62e9fd33411a57591f04a8cce65
tree84ed893d26c36c7f01302ab31a5452ad86f55377
parentc3c2f38ce532c6d3efa13e2aaa9d5d52396518b1
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