mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
decoder: g12b bringup
PD#165090 add g12b chips code for decoder Change-Id: I63b0d09b2cf411ff26045e9274d6f53266e9b8c1 Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
This commit is contained in:
committed by
Dongjin Kim
parent
33f847bf31
commit
a43dd77b40
@@ -70,7 +70,8 @@ static const struct type_name cpu_type_name[] = {
|
||||
{MESON_CPU_MAJOR_ID_GXM, "gxm"},
|
||||
{MESON_CPU_MAJOR_ID_TXL, "txl"},
|
||||
{MESON_CPU_MAJOR_ID_TXLX, "txlx"},
|
||||
{MESON_CPU_MAJOR_ID_TXLX, "g12a"},
|
||||
{MESON_CPU_MAJOR_ID_G12A, "g12a"},
|
||||
{MESON_CPU_MAJOR_ID_G12B, "g12b"},
|
||||
{0, NULL},
|
||||
};
|
||||
|
||||
|
||||
@@ -984,6 +984,7 @@ static int vdec_clock_get(enum vdec_type_e core)
|
||||
MESON_CPU_MAJOR_ID_TXL,\
|
||||
MESON_CPU_MAJOR_ID_TXLX,\
|
||||
MESON_CPU_MAJOR_ID_G12A,\
|
||||
MESON_CPU_MAJOR_ID_G12B,\
|
||||
0}
|
||||
#include "clk.h"
|
||||
|
||||
|
||||
@@ -6676,6 +6676,7 @@ static int ammvdec_h264_probe(struct platform_device *pdev)
|
||||
(get_cpu_type() >= MESON_CPU_MAJOR_ID_TXLX) &&
|
||||
(get_cpu_type() != MESON_CPU_MAJOR_ID_GXLX) &&
|
||||
(get_cpu_type() != MESON_CPU_MAJOR_ID_G12A) &&
|
||||
(get_cpu_type() != MESON_CPU_MAJOR_ID_G12B) &&
|
||||
(pdata->sys_info->height * pdata->sys_info->width
|
||||
> 1920 * 1088))
|
||||
hw->mmu_enable = 1;
|
||||
|
||||
Reference in New Issue
Block a user