drm/amd/display: Need config check for drm_dp_mst_topology_queue_probe()
Subsystems (3)
PATCH 1/1 drm/amd/display: Need config check for drm_dp_mst_topology_queue_probe()
There is need to check the CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS config whether is enabled before uses the related MST functions.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -0
@@ -3382,7 +3382,9 @@ static int dm_resume(struct amdgpu_ip_block *ip_block) aconnector->mst_root)continue ; +#if IS_ENABLED (CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS )drm_dp_mst_topology_queue_probe (&aconnector->mst_mgr); +#endif }drm_connector_list_iter_end (&iter);
Signature · 1 line
2.34.1
[AMD Official Use Only - AMD Internal Distribution Only]
Please ignore this patch for the moment.
Thanks,
Prike
Quoted 35 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Prike Liang
Sent: Wednesday, November 20, 2024 10:34 AM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; Wentland, Harry <[email protected]>; Li, Sun peng (Leo) <[email protected]>; Lin, Wayne <[email protected]>; Liang, Prike <[email protected]>
Subject: [PATCH] drm/amd/display: Need config check fordrm_dp_mst_topology_queue_probe()There is need to check the
CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFSconfig whether is enabled before uses the related MST functions.Signed-off-by Prike Liang <[email protected]>--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2
-1@@ -3382,7 +3382,9 @@ static int dm_resume(struct amdgpu_ip_block *ip_block) aconnector->mst_root)continue ; +#if IS_ENABLED (CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS )drm_dp_mst_topology_queue_probe (&aconnector->mst_mgr); +#endif }drm_connector_list_iter_end (&iter); --2.34.1