mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
disp: msm: sde: fix index variable used in CP pu check phase
Currently driver uses wrong index to retrieve partial update ROI during check phase. This can lead to ROI being 0 for some of the CP properties. Change-Id: I885132e8d29eaf1353ed079eb283f7ca3a3d63a6 Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
This commit is contained in:
parent
20ed4f0785
commit
4eaa6dd39e
1 changed files with 2 additions and 2 deletions
|
|
@ -1744,8 +1744,8 @@ static int sde_cp_crtc_check_pu_features(struct drm_crtc *crtc)
|
|||
hw_cfg.mixer_info = sde_crtc->mixers[j].hw_lm;
|
||||
hw_cfg.ctl = sde_crtc->mixers[j].hw_ctl;
|
||||
hw_cfg.displayh = hw_cfg.num_of_mixers *
|
||||
sde_crtc_state->lm_roi[i].w;
|
||||
hw_cfg.displayv = sde_crtc_state->lm_roi[i].h;
|
||||
sde_crtc_state->lm_roi[j].w;
|
||||
hw_cfg.displayv = sde_crtc_state->lm_roi[j].h;
|
||||
|
||||
ret = check_pu_feature(hw_dspp, &hw_cfg, sde_crtc);
|
||||
if (ret) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue