Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c93cae7d authored by Anjaneya Prasad Musunuri's avatar Anjaneya Prasad Musunuri
Browse files

disp: msm: sde: remove feature from dirty list on validate failure



Remove feature from dirty list when feature validation fails.
This fixes recovery failure when feature validation fails in
atomic check operation.

Change-Id: I9a884520544c85d0f8ca6a954657f76b37856ad3
Signed-off-by: default avatarAnjaneya Prasad Musunuri <aprasad@codeaurora.org>
parent bb6f15ba
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1840,6 +1840,8 @@ int sde_cp_crtc_check_properties(struct drm_crtc *crtc,
		if (ret) {
			DRM_ERROR("failed check on prop_node %u\n",
					prop_node->property_id);
			/* remove invalid feature from dirty list */
			list_del_init(&prop_node->dirty_list);
			goto exit;
		}
	}