]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee66c9bb27c315b46928682e42ac7034c1ef3735
tree84ed893d26c36c7f01302ab31a5452ad86f55377
parent44beda403b29d4c297f0a55e416c58e58f83ea97
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