Commit 706bc8c5 authored by Shirish S's avatar Shirish S Committed by Alex Deucher
Browse files

drm/amd/display: fix exit from amdgpu_dm_atomic_check() abruptly



make action upon failure in "drm_atomic_add_affected_connectors()"
consistent with the rest of failures in amdgpu_dm_atomic_check().

Signed-off-by: default avatarShirish S <shirish.s@amd.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9f4f2c1a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10802,7 +10802,7 @@ static int amdgpu_dm_atomic_check(struct drm_device *dev,

		ret = drm_atomic_add_affected_connectors(state, crtc);
		if (ret)
			return ret;
			goto fail;

		ret = drm_atomic_add_affected_planes(state, crtc);
		if (ret)