Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/bridge: add connector argument to .hpd_notify callback

Drivers might need to update DRM connector in the
drm_bridge_funcs.hpd_notify callback (e.g. it might be necessary to
update EDID before setting ELD). Add corresponding argument to the
callback.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20250803-lt9611uxc-hdmi-v1-1-cb9ce1793acf@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

+8 -3
+1 -1
drivers/gpu/drm/display/drm_bridge_connector.c
··· 141 141 /* Notify all bridges in the pipeline of hotplug events. */ 142 142 drm_for_each_bridge_in_chain_scoped(bridge_connector->encoder, bridge) { 143 143 if (bridge->funcs->hpd_notify) 144 - bridge->funcs->hpd_notify(bridge, status); 144 + bridge->funcs->hpd_notify(bridge, connector, status); 145 145 } 146 146 } 147 147
+1
drivers/gpu/drm/meson/meson_encoder_hdmi.c
··· 323 323 } 324 324 325 325 static void meson_encoder_hdmi_hpd_notify(struct drm_bridge *bridge, 326 + struct drm_connector *connector, 326 327 enum drm_connector_status status) 327 328 { 328 329 struct meson_encoder_hdmi *encoder_hdmi = bridge_to_meson_encoder_hdmi(bridge);
+2 -1
drivers/gpu/drm/msm/dp/dp_display.c
··· 1783 1783 } 1784 1784 1785 1785 void msm_dp_bridge_hpd_notify(struct drm_bridge *bridge, 1786 - enum drm_connector_status status) 1786 + struct drm_connector *connector, 1787 + enum drm_connector_status status) 1787 1788 { 1788 1789 struct msm_dp_bridge *msm_dp_bridge = to_dp_bridge(bridge); 1789 1790 struct msm_dp *msm_dp_display = msm_dp_bridge->msm_dp_display;
+2 -1
drivers/gpu/drm/msm/dp/dp_drm.h
··· 40 40 void msm_dp_bridge_hpd_enable(struct drm_bridge *bridge); 41 41 void msm_dp_bridge_hpd_disable(struct drm_bridge *bridge); 42 42 void msm_dp_bridge_hpd_notify(struct drm_bridge *bridge, 43 - enum drm_connector_status status); 43 + struct drm_connector *connector, 44 + enum drm_connector_status status); 44 45 45 46 #endif /* _DP_DRM_H_ */
+1
drivers/gpu/drm/omapdrm/dss/hdmi4.c
··· 428 428 } 429 429 430 430 static void hdmi4_bridge_hpd_notify(struct drm_bridge *bridge, 431 + struct drm_connector *connector, 431 432 enum drm_connector_status status) 432 433 { 433 434 struct omap_hdmi *hdmi = drm_bridge_to_hdmi(bridge);
+1
include/drm/drm_bridge.h
··· 731 731 * controllers for HDMI bridges. 732 732 */ 733 733 void (*hpd_notify)(struct drm_bridge *bridge, 734 + struct drm_connector *connector, 734 735 enum drm_connector_status status); 735 736 736 737 /**