rk30: vpu_service: add rk30 enc hw id checklist

This commit is contained in:
陈恒明
2012-03-23 15:37:07 +08:00
parent c6197c9bd2
commit 295211b721

View File

@@ -64,7 +64,11 @@
#define DEC_IO_SIZE ((100 + 1) * 4) /* bytes */
#define ENC_IO_SIZE (96 * 4) /* bytes */
static const u16 dec_hw_ids[] = { 0x8190, 0x8170, 0x9170, 0x9190, 0x6731 };
#if defined(CONFIG_ARCH_RK29)
static const u16 enc_hw_ids[] = { 0x6280, 0x7280, 0x8270 };
#elif defined(CONFIG_ARCH_RK30)
static const u16 enc_hw_ids[] = { 0x6280, 0x7280, 0x8270, 0x8290, 0x4831 };
#endif
#define VPU_REG_EN_ENC 14
#define VPU_REG_ENC_GATE 2