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

Commit d8f60b9a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: msm: sde: Get connector roi state even when PU is disabled"

parents 51ab0c48 e40a8cb5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1263,9 +1263,6 @@ static int _sde_crtc_set_crtc_roi(struct drm_crtc *crtc,
			return -EINVAL;
		}

		if (!mode_info.roi_caps.enabled)
			continue;

		sde_conn = to_sde_connector(conn_state->connector);
		sde_conn_state = to_sde_connector_state(conn_state);

@@ -1275,6 +1272,9 @@ static int _sde_crtc_set_crtc_roi(struct drm_crtc *crtc,
						&sde_conn_state->property_state,
						CONNECTOR_PROP_ROI_V1);

		if (!mode_info.roi_caps.enabled)
			continue;

		/*
		 * current driver only supports same connector and crtc size,
		 * but if support for different sizes is added, driver needs