]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi
authorhongao <hongao@uniontech.com>
Thu, 16 Jun 2022 07:22:33 +0000 (15:22 +0800)
committerInki Dae <inki.dae@samsung.com>
Mon, 26 Sep 2022 01:12:54 +0000 (10:12 +0900)
commit5fcf5bf0925fc6d72d32501b731fe170429d0fcb
tree21f8070ffc1a7a0db81a4a9ce10ca61f3a0bd773
parent80a2a9ef01807068f7c268866080b001a9bb5144
drm/exynos: replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi

Once EDID is parsed, the monitor HDMI support information is available
through drm_display_info.is_hdmi.

This driver calls drm_detect_hdmi_monitor() to receive the same
information, which is less efficient.

Avoid calling drm_detect_hdmi_monitor() and use drm_display_info.is_hdmi
instead.

Signed-off-by: hongao <hongao@uniontech.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c