Эх сурвалжийг харах

drm/amd/display: Fix one more place for dc_stream_state leak

One more thing that happened due to uneven applying of patches. This
mirrors what Darren Salt fixed.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Harry Wentland 8 жил өмнө
parent
commit
1bed4d09a4

+ 1 - 1
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

@@ -4484,7 +4484,7 @@ static int dm_update_crtcs_state(struct dc *dc,
 			 * TODO: need to dig out the root cause of that
 			 * TODO: need to dig out the root cause of that
 			 */
 			 */
 			if (!aconnector || (!aconnector->dc_sink && aconnector->mst_port))
 			if (!aconnector || (!aconnector->dc_sink && aconnector->mst_port))
-				continue;
+				goto next_crtc;
 
 
 			if (modereset_required(new_crtc_state))
 			if (modereset_required(new_crtc_state))
 				goto next_crtc;
 				goto next_crtc;