disp: msm: sde: add atomic check handling in cp framework
Add atomic check handling in color processing framework. This will check cp features during the validate phase. Change-Id: I6d94316a749ad247aec0554c31fa56af6db61ab6 Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
This commit is contained in:
@@ -4655,6 +4655,12 @@ static int sde_crtc_atomic_check(struct drm_crtc *crtc,
|
||||
goto end;
|
||||
}
|
||||
|
||||
rc = sde_cp_crtc_check_properties(crtc, state);
|
||||
if (rc) {
|
||||
SDE_ERROR("crtc%d failed cp properties check %d\n",
|
||||
crtc->base.id, rc);
|
||||
goto end;
|
||||
}
|
||||
end:
|
||||
kfree(pstates);
|
||||
kfree(multirect_plane);
|
||||
|
Reference in New Issue
Block a user