mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
media: rockchip: isp: fix imx327 hdr mode for isp21
Change-Id: I5388d3bae55cb1b35ff11cf6086313bc4b1a1e41 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -546,6 +546,9 @@ static int dmatx2_config_mi(struct rkisp_stream *stream)
|
||||
mi_wr_ctrl2(base, SW_RAW1_WR_AUTOUPD);
|
||||
mi_raw_length(stream);
|
||||
vc = csi->sink[CSI_SRC_CH3 - 1].index;
|
||||
/* short frame for esp mode */
|
||||
if (dev->hdr.esp_mode != HDR_NORMAL_VC)
|
||||
vc = 2;
|
||||
val = SW_CSI_RAW_WR_CH_EN(vc);
|
||||
val |= stream->memory;
|
||||
if (dev->hdr.op_mode != HDR_NORMAL)
|
||||
@@ -589,6 +592,9 @@ static int dmatx0_config_mi(struct rkisp_stream *stream)
|
||||
mi_wr_ctrl2(base, SW_RAW0_WR_AUTOUPD);
|
||||
mi_raw_length(stream);
|
||||
vc = csi->sink[CSI_SRC_CH1 - 1].index;
|
||||
/* long frame for esp mode */
|
||||
if (dev->hdr.esp_mode != HDR_NORMAL_VC)
|
||||
vc = 1;
|
||||
val = SW_CSI_RAW_WR_CH_EN(vc);
|
||||
val |= stream->memory;
|
||||
if (dev->hdr.op_mode != HDR_NORMAL)
|
||||
|
||||
Reference in New Issue
Block a user