deinterlace: disable afbc support when post write mode with txhd2 [1/1]

PD#SWPL-139488

Problem:
playback freeze when seek

Solution:
TXHD2 not support afbc input with post write mode

Verify:
txhd2

Change-Id: Id9e3d976df1fe725b611be1911a910961b3894a1
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
This commit is contained in:
Brian Zhu
2023-09-08 22:54:54 +08:00
committed by gerrit autosubmit
parent e7dfe9a0e6
commit b86105a840
+2 -1
View File
@@ -1097,7 +1097,8 @@ static bool afbc_is_supported(void)
bool ret = false;
struct afbcd_ctr_s *pafd_ctr = di_get_afd_ctr();
if (!pafd_ctr || is_cfg(EAFBC_CFG_DISABLE)) {
/* TXHD2 not support afbc input with post write mode */
if (!pafd_ctr || is_cfg(EAFBC_CFG_DISABLE) || DIM_IS_IC_TXHD2) {
#ifdef PRINT_BASIC
dim_print("%s:false\n", __func__);
#endif