[hal_h264d][hal_vp9d]: for vdpu34x, disable hardware auto reset

hardware auto reset default.

Change-Id: I3d5c249058b32801a0185999fbe36231bc697c33
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
Ding Wei
2022-01-04 16:02:02 +08:00
parent a7dd44baa9
commit 9c997879c6
2 changed files with 2 additions and 1 deletions

View File

@@ -674,7 +674,7 @@ static MPP_RET init_common_regs(Vdpu34xH264dRegSet *regs)
common->reg010.dec_e = 1;
common->reg017.slice_num = 0x3fff;
common->reg012.wait_reset_en = 1;
common->reg013.h26x_error_mode = 1;
common->reg013.colmv_error_mode = 1;
common->reg013.h26x_streamd_error_mode = 1;

View File

@@ -824,6 +824,7 @@ static MPP_RET hal_vp9d_vdpu34x_gen_regs(void *hal, HalTaskInfo *task)
vp9_hw_regs->common.reg011.dec_clkgate_e = 1;
vp9_hw_regs->common.reg011.dec_e_strmd_clkgate_dis = 0;
vp9_hw_regs->common.reg012.wait_reset_en = 1;
vp9_hw_regs->common.reg013.timeout_mode = 1;
vp9_hw_regs->common.reg026.swreg_block_gating_e =