mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user