diff options
author | José Expósito <jose.exposito89@gmail.com> | 2022-04-21 20:07:23 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2022-05-03 00:57:24 +0300 |
commit | d2eabdb64474c2101953859601794f1ea08ec1d9 (patch) | |
tree | e3e5e5ed98fd835d5c5a2f37522ddfdd6140b57d /drivers/gpu/drm/rockchip/rockchip_drm_vop.c | |
parent | d449222dd533ca83a3a2f88aafe06fdd8d589280 (diff) | |
download | linux-d2eabdb64474c2101953859601794f1ea08ec1d9.tar.xz |
drm/rockchip: rk3066_hdmi: Replace drm_detect_hdmi_monitor() with 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 and stores its own cached value, which is less efficient.
Avoid calling drm_detect_hdmi_monitor() and use drm_display_info.is_hdmi
instead and also remove hdmi_data_info.sink_is_hdmi as it is no longer
necessary.
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220421170725.903361-4-jose.exposito89@gmail.com
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_drm_vop.c')
0 files changed, 0 insertions, 0 deletions