vdec: enable s805x flag

PD#163927:
1) enable s805x flag in vdec
2) fix h265 overszie handle issue on s805

Change-Id: I7b2610fe4e4d4e08e752de82eac8ab8e71f7b837
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
This commit is contained in:
Hui Zhang
2018-04-25 16:05:16 +08:00
committed by Dongjin Kim
parent e91827dd3c
commit 06924716e6
2 changed files with 5 additions and 8 deletions

View File

@@ -8138,14 +8138,12 @@ pic_done:
} else if (dec_status == HEVC_DECODE_OVER_SIZE) {
hevc_print(hevc, 0 , "hevc decode oversize !!\n");
debug |= (H265_DEBUG_DIS_LOC_ERROR_PROC |
H265_DEBUG_DIS_SYS_ERROR_PROC);
hevc->fatal_error |= DECODER_FATAL_ERROR_SIZE_OVERFLOW;
#ifdef MULTI_INSTANCE_SUPPORT
if (hevc->m_ins_flag)
reset_process_time(hevc);
if (!hevc->m_ins_flag)
debug |= (H265_DEBUG_DIS_LOC_ERROR_PROC |
H265_DEBUG_DIS_SYS_ERROR_PROC);
#endif
return IRQ_HANDLED;
hevc->fatal_error |= DECODER_FATAL_ERROR_SIZE_OVERFLOW;
}
return IRQ_HANDLED;
}

View File

@@ -298,8 +298,7 @@ void vdec_count_info(struct vdec_info *vs, unsigned int err,
EXPORT_SYMBOL(vdec_count_info);
int vdec_is_support_4k(void)
{
//return !is_meson_gxl_package_805X();
return 1;
return !is_meson_gxl_package_805X();
}
EXPORT_SYMBOL(vdec_is_support_4k);