diff options
| author | José Expósito <[email protected]> | 2022-04-21 17:07:23 +0000 |
|---|---|---|
| committer | Heiko Stuebner <[email protected]> | 2022-05-02 21:57:24 +0000 |
| commit | d2eabdb64474c2101953859601794f1ea08ec1d9 (patch) | |
| tree | e3e5e5ed98fd835d5c5a2f37522ddfdd6140b57d /drivers/gpu/drm/rockchip/cdn-dp-core.c | |
| parent | drm/rockchip: inno_hdmi: Replace drm_detect_hdmi_monitor() with is_hdmi (diff) | |
| download | kernel-d2eabdb64474c2101953859601794f1ea08ec1d9.tar.gz kernel-d2eabdb64474c2101953859601794f1ea08ec1d9.zip | |
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 <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/rockchip/cdn-dp-core.c')
0 files changed, 0 insertions, 0 deletions
