OpenCloudOS-Kernel/drivers/gpu/drm/sun4i
José Expósito 57ae18fbde
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
2022-04-22 11:51:52 +02:00
..
Kconfig drm-misc-next for 5.17: 2021-12-10 15:08:21 +10:00
Makefile
sun4i_backend.c drm/sun4i: Make use of the helper function devm_platform_ioremap_resource() 2021-09-01 11:43:29 +02:00
sun4i_backend.h
sun4i_crtc.c drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
sun4i_crtc.h
sun4i_dotclock.c
sun4i_dotclock.h
sun4i_drv.c Driver core changes for 5.18-rc1 2022-03-28 12:41:28 -07:00
sun4i_drv.h
sun4i_framebuffer.c drm/sun4i: Constify static structs 2020-08-18 10:49:13 +02:00
sun4i_framebuffer.h
sun4i_frontend.c drm/sun4i: Make use of the helper function devm_platform_ioremap_resource() 2021-09-01 11:43:29 +02:00
sun4i_frontend.h drm/sun4i: frontend: Rework a bit the phase data 2020-10-26 11:43:30 +01:00
sun4i_hdmi.h drm/sun4i: hdmi: Replace drm_detect_hdmi_monitor() with is_hdmi 2022-04-22 11:51:52 +02:00
sun4i_hdmi_ddc_clk.c
sun4i_hdmi_enc.c drm/sun4i: hdmi: Replace drm_detect_hdmi_monitor() with is_hdmi 2022-04-22 11:51:52 +02:00
sun4i_hdmi_i2c.c
sun4i_hdmi_tmds_clk.c
sun4i_layer.c drm/sun4i: layer: Remove redundant zpos initialisation 2022-02-25 17:57:10 +01:00
sun4i_layer.h
sun4i_lvds.c drm/bridge: Centralize error message when bridge attach fails 2021-07-28 16:33:12 +03:00
sun4i_lvds.h
sun4i_rgb.c drm/bridge: Centralize error message when bridge attach fails 2021-07-28 16:33:12 +03:00
sun4i_rgb.h
sun4i_tcon.c drm/sun4i: Make use of the helper function devm_platform_ioremap_resource() 2021-09-01 11:43:29 +02:00
sun4i_tcon.h drm pull for 5.12-rc1 2021-02-21 14:44:44 -08:00
sun4i_tv.c drm/sun4i: Make use of the helper function devm_platform_ioremap_resource() 2021-09-01 11:43:29 +02:00
sun6i_drc.c
sun6i_mipi_dsi.c drm/sun4i: dsi: Make use of the helper function dev_err_probe() 2021-09-16 15:47:17 +02:00
sun6i_mipi_dsi.h
sun8i_csc.c drm/sun4i: Add support for BT2020 to DE3 2021-01-13 10:33:57 +01:00
sun8i_csc.h drm/sun4i: Fix macros in sun8i_csc.h 2021-09-01 11:44:10 +02:00
sun8i_dw_hdmi.c Linux 5.15-rc7 2021-10-28 14:59:38 +10:00
sun8i_dw_hdmi.h drm/sun4i: dw-hdmi: Fix HDMI PHY clock setup 2021-10-06 11:05:44 +02:00
sun8i_hdmi_phy.c drm: bridge: dw_hdmi: add reset function for PHY GEN1 2022-04-19 18:19:03 +02:00
sun8i_hdmi_phy_clk.c
sun8i_mixer.c drm/sun4i: Make use of the helper function devm_platform_ioremap_resource() 2021-09-01 11:43:29 +02:00
sun8i_mixer.h drm/sun4i: mixer: Fix P010 and P210 format numbers 2022-03-08 11:54:50 +01:00
sun8i_tcon_top.c drm/sun4i: Make use of the helper function devm_platform_ioremap_resource() 2021-09-01 11:43:29 +02:00
sun8i_tcon_top.h
sun8i_ui_layer.c drm/<driver>: drm_gem_plane_helper_prepare_fb is now the default 2021-06-24 15:35:24 +02:00
sun8i_ui_layer.h drm/sun4i: Add alpha property for sun8i UI layer 2021-02-10 11:06:30 +01:00
sun8i_ui_scaler.c
sun8i_ui_scaler.h
sun8i_vi_layer.c drm/<driver>: drm_gem_plane_helper_prepare_fb is now the default 2021-06-24 15:35:24 +02:00
sun8i_vi_layer.h drm/sun4i: Add alpha property for sun8i and sun50i VI layer 2021-02-10 11:06:34 +01:00
sun8i_vi_scaler.c
sun8i_vi_scaler.h
sunxi_engine.h