media: rockchip: isp: get hdrtmo/bls/dhaze stat on frame end only

Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
Change-Id: Ic0db16e19696b2077cf78a1973cad91f4bde4cba
This commit is contained in:
Hu Kejun
2020-03-18 19:09:57 +08:00
committed by Tao Huang
parent 465859c83c
commit b60d44eacb

View File

@@ -1256,9 +1256,11 @@ rkisp_stats_send_meas_v2x(struct rkisp_isp_stats_vdev *stats_vdev,
cur_stat_buf->meas_type |= ISP2X_STAT_RAWHSTCH2;
}
ops->get_bls_stats(stats_vdev, cur_stat_buf);
ops->get_tmo_stats(stats_vdev, cur_stat_buf);
ops->get_dhaz_stats(stats_vdev, cur_stat_buf);
if (meas_work->isp_ris & ISP2X_FRAME) {
ops->get_bls_stats(stats_vdev, cur_stat_buf);
ops->get_tmo_stats(stats_vdev, cur_stat_buf);
ops->get_dhaz_stats(stats_vdev, cur_stat_buf);
}
if (cur_buf) {
vb2_set_plane_payload(&cur_buf->vb.vb2_buf, 0,