mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
media: rockchip: isp: fix mpfbc buf update if readback off
Change-Id: I57b48d6055759a426808fbd085cd913265742739 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -2300,13 +2300,13 @@ void rkisp_isp_isr(unsigned int isp_mis,
|
||||
/* start edge of v_sync */
|
||||
if (isp_mis & CIF_ISP_V_START) {
|
||||
rkisp_set_state(dev, ISP_FRAME_VS);
|
||||
/* last vsync to config next buf */
|
||||
if (!dev->csi_dev.filt_state[CSI_F_VS])
|
||||
rkisp_bridge_update_mi(dev);
|
||||
else
|
||||
dev->csi_dev.filt_state[CSI_F_VS]--;
|
||||
if (IS_HDR_RDBK(dev->hdr.op_mode)) {
|
||||
rkisp_stats_rdbk_enable(&dev->stats_vdev, true);
|
||||
/* last readback to config next buf */
|
||||
if (!dev->csi_dev.filt_state[CSI_F_VS])
|
||||
rkisp_bridge_update_mi(dev);
|
||||
else
|
||||
dev->csi_dev.filt_state[CSI_F_VS]--;
|
||||
goto vs_skip;
|
||||
}
|
||||
if (dev->cap_dev.stream[RKISP_STREAM_SP].interlaced) {
|
||||
|
||||
Reference in New Issue
Block a user