Commit Graph

4 Commits

Author SHA1 Message Date
Zhou Peng 420a357a1b MLK-24009-3 arm64: imx8mm: vpu: h1: fix build issue as module
release clk to avoid memory leak

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2020-05-15 12:39:05 +08:00
Leonard Crestez 874558fb16 vpu: hantro: Fix kconfig to depend on ARCH_MXC instead
Upstream rejected per-SOC kconfig symbols such as CONFIG_ARCH_FSL_IMX8MQ
so just use CONFIG_ARCH_MXC instead.

There is already an ARM64 check in drivers/mxc/Kconfig so this
shouldn't change anything except that we can drop CONFIG_ARCH_FSL_IMX8MQ
from linux-nxp tree.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Acked-by: Zhou Peng <eagle.zhou@nxp.com>
2019-11-25 15:47:44 +08:00
Dong Aisheng 6f8ceefb9a vpu: hantro_845_h1: fix compat_ptr building issue
compat_ptr() depends on CONFIG_COMPAT.
Make hx280enc_ioctl() conditionally compiled to avoid a build
break in case CONFIG_COMPAT is not defined.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 15:47:39 +08:00
Zhou Peng efd24bb953 vpu: hantro: add encoder for imx845 h1
add hantro 845 source code, include h1

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
[ Aisheng: merge Kconfig&Makefile changes ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 15:47:38 +08:00