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

Commit 0305a4d2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/sde: ignore scaler v2 data if not enabled"

parents 04bd4907 7e892a01
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3811,6 +3811,12 @@ static inline void _sde_plane_set_scaler_v2(struct sde_plane *psde,
		return;
	}

	/* detach/ignore user data if 'disabled' */
	if (!scale_v2.enable) {
		SDE_DEBUG_PLANE(psde, "scale data removed\n");
		return;
	}

	/* populate from user space */
	pe = &(psde->pixel_ext);
	memset(pe, 0, sizeof(struct sde_hw_pixel_ext));