diff options
author | José Expósito | 2022-04-21 19:07:25 +0200 |
---|---|---|
committer | Maxime Ripard | 2022-04-22 11:51:52 +0200 |
commit | 57ae18fbde6ade092945ab956b67303f1f857190 (patch) | |
tree | 4221c570487243357ba3b7a2316f70d32ac2612d /Documentation/gpu | |
parent | 0e48711f602064705bf81eebe6f627ee1bc11d3b (diff) |
drm/sun4i: 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 sun4i_hdmi.hdmi_monitor as it is no longer
necessary.
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/20220421170725.903361-6-jose.exposito89@gmail.com
Diffstat (limited to 'Documentation/gpu')
0 files changed, 0 insertions, 0 deletions