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

Commit dd272478 authored by Krishna Manikandan's avatar Krishna Manikandan Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/sde: Add check for qseed3lite to allow destination scaler setup



Add check to allow destination scaler setup for
qseed3lite as lut flag will not be set for the same.

Change-Id: Ib9d9f8c52fb471a9510d2041854aa6f245d259de
Signed-off-by: default avatarKrishna Manikandan <mkrishn@codeaurora.org>
parent 7f16c781
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2570,7 +2570,8 @@ static void _sde_crtc_dest_scaler_setup(struct drm_crtc *crtc)
		SDE_DEBUG("dest scaler feature not supported\n");
	} else if (_sde_validate_hw_resources(sde_crtc)) {
		//do nothing
	} else if (!cstate->scl3_lut_cfg.is_configured) {
	} else if ((!cstate->scl3_lut_cfg.is_configured) &&
			(!is_qseed3_rev_qseed3lite(kms->catalog))) {
		SDE_ERROR("crtc%d:no LUT data available\n", crtc->base.id);
	} else {
		for (i = 0; i < count; i++) {