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

Merge "disp: msm: dp: release vcpi slots for a modeset change for crtc state"

qctecmdr 2 жил өмнө
parent
commit
c284dfbfeb
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      msm/dp/dp_mst_drm.c

+ 2 - 2
msm/dp/dp_mst_drm.c

@@ -1381,8 +1381,8 @@ static int dp_mst_connector_atomic_check(struct drm_connector *connector,
 				bridge->num_slots);
 	}
 
-	/* do not attempt to release vcpi slots if crtc state is enable */
-	if (drm_atomic_crtc_needs_modeset(crtc_state) && !crtc_state->enable) {
+	/*attempt to release vcpi slots on a modeset change for crtc state*/
+	if (drm_atomic_crtc_needs_modeset(crtc_state)) {
 		if (WARN_ON(!old_conn_state->best_encoder)) {
 			rc = -EINVAL;
 			goto end;