Thank you for your contribution! Sashiko AI review found no new issues in this patch, but noticed 1 related pre-existing issue it does not introduce: - [High] drm/amd/display: active work reinit in amdgpu_dm_connector_init_helper() [1] --
commit b9748e6639f50b5b110c49b43861b3ed27424ab6 Author: Alex Kazinsky <[email protected]> drm/connector: Propagate content type property creation errors This commit propagates errors from drm_mode_create_content_type_property() in drm_connector_attach_content_type_property() and logs attachment failures in AMDGPU and i915. > diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c > b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c > index 8a039ef6e4b76..3d163c2fc1066 100644 > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c > @@ -3325,7 +3325,8 @@ void amdgpu_dm_connector_init_helper(struct > amdgpu_display_manager *dm, > > if (connector_type == DRM_MODE_CONNECTOR_HDMIA) { > /* Content Type is currently only implemented for HDMI. */ > - drm_connector_attach_content_type_property(&aconnector->base); > + if > (drm_connector_attach_content_type_property(&aconnector->base)) > + drm_err(adev_to_drm(adev), "Failed to attach content > type property\n"); > } > > if (connector_type == DRM_MODE_CONNECTOR_HDMIA) { [Severity: High] This problem wasn't introduced by this patch, but can amdgpu_dm_connector_init_helper() reinitialize active delayed work in dm->hdmi_frl_status_polling_work [1]? drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c:amdgpu_dm_connector_init_helper() { ... dm->hdmi_frl_status_polling_delay_ms = 200; INIT_DELAYED_WORK(&dm->hdmi_frl_status_polling_work, hdmi_frl_status_polling_work); ... } amdgpu_dm_connector_init_helper() runs for every connector, including DisplayPort MST connectors created at runtime by dm_dp_add_mst_connector(). While an HDMI FRL stream is active, dm->hdmi_frl_status_polling_work rearms itself every 200ms, so hotplugging an MST connector while that work is armed reinitializes an active timer and corrupts the timer wheel. [1] https://sashiko.dev/#/bug/linux-bb56a34e-fe01-46fd-8aea-d7d3688e24ce -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=3
