video: driver: kill session and core deinit support

Add below support
- kill session in case of errors
- core deinit in case of timeout errors
- flush buffers in streamoff
- decide supported colorformats based on
  bitdepth and interlace info
- print level based logs

Change-Id: I45b9b0eae4220a818de23308da8802a9e12ae255
Signed-off-by: Maheshwar Ajja <majja@quicinc.com>
此提交包含在:
Maheshwar Ajja
2021-01-05 00:27:57 -08:00
父節點 689fd02b04
當前提交 39e830e7e3
共有 15 個檔案被更改,包括 403 行新增98 行删除

查看文件

@@ -367,8 +367,10 @@ static int __watchdog_iris2(struct msm_vidc_core *vidc_core, u32 intr_status)
return -EINVAL;
}
if (intr_status & WRAPPER_INTR_STATUS_A2HWD_BMSK_IRIS2)
if (intr_status & WRAPPER_INTR_STATUS_A2HWD_BMSK_IRIS2) {
d_vpr_e("%s: received watchdog interrupt\n", __func__);
rc = 1;
}
return rc;
}