encoder: add G12B support

PD#165090: add G12B support for encoder

Change-Id: I2e50f5ca980fb53e06796d68f640efe03f23c343
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
This commit is contained in:
Jiacheng Mei
2018-05-23 11:05:15 +08:00
committed by Dongjin Kim
parent d52957f566
commit 4f17ce0c3d

View File

@@ -1987,7 +1987,8 @@ static s32 __init vpu_init(void)
if ((get_cpu_type() != MESON_CPU_MAJOR_ID_GXM)
&& (get_cpu_type() != MESON_CPU_MAJOR_ID_G12A)
&& (get_cpu_type() != MESON_CPU_MAJOR_ID_GXL)) {
&& (get_cpu_type() != MESON_CPU_MAJOR_ID_GXLX)
&& (get_cpu_type() != MESON_CPU_MAJOR_ID_G12B)) {
enc_pr(LOG_DEBUG,
"The chip is not support hevc encoder\n");
return -1;