|
@@ -2715,13 +2715,13 @@ int drm_atomic_helper_disable_all(struct drm_device *dev,
|
|
|
goto free;
|
|
|
}
|
|
|
|
|
|
- for_each_connector_in_state(state, conn, conn_state, i) {
|
|
|
+ for_each_new_connector_in_state(state, conn, conn_state, i) {
|
|
|
ret = drm_atomic_set_crtc_for_connector(conn_state, NULL);
|
|
|
if (ret < 0)
|
|
|
goto free;
|
|
|
}
|
|
|
|
|
|
- for_each_plane_in_state(state, plane, plane_state, i) {
|
|
|
+ for_each_new_plane_in_state(state, plane, plane_state, i) {
|
|
|
ret = drm_atomic_set_crtc_for_plane(plane_state, NULL);
|
|
|
if (ret < 0)
|
|
|
goto free;
|