disp: msm: sde: reset crop registers in PU cases
In back to back partial update cases with CWB the CROP registers are not reset causing WB timeout in the following sequence- 1) Nth commit WB_roi != LM_PU_roi, WB CROP registers are programmed. 2) N+1th commit WB_roi == LM_PU_roi, WB CROP registers are not cleared retaining old values. Clear the WB CROP registers in the second case to fix the issue. Change-Id: If09a697f48ecaf5ee08d6313be444748d048b20d Signed-off-by: Shamika Joshi <quic_shamjosh@quicinc.com> Signed-off-by: Yojana Juadi <quic_yjuadi@quicinc.com>
This commit is contained in:
committed by
Yojana Juadi
parent
c84b917f06
commit
68e3a8fdee
@@ -403,6 +403,8 @@ static void _sde_encoder_phys_wb_setup_roi(struct sde_encoder_phys *phys_enc,
|
||||
wb_cfg->crop.x = wb_cfg->crop.x - pu_roi.x;
|
||||
wb_cfg->crop.y = wb_cfg->crop.y - pu_roi.y;
|
||||
hw_wb->ops.setup_crop(hw_wb, wb_cfg, true);
|
||||
} else {
|
||||
hw_wb->ops.setup_crop(hw_wb, wb_cfg, false);
|
||||
}
|
||||
} else if ((wb_cfg->roi.w != out_width) || (wb_cfg->roi.h != out_height)) {
|
||||
hw_wb->ops.setup_crop(hw_wb, wb_cfg, true);
|
||||
|
||||
Reference in New Issue
Block a user