Commit Graph

5 Commits

Author SHA1 Message Date
Ming Qian
b305ce6758 MA-22424-2: mxc: vpu: vc8000e: Use fixed-length types in ioctl parameters
To support 32bit application, we should use fixed-length types in ioctl
parameters, specifically avoid using the type long and unsigned long.

remove some unused ioctl cmd.
clear some building warning.

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Reviewed-by: TaoJiang <tao.jiang_2@nxp.com>
2024-07-02 10:07:52 +09:00
Zhou Peng
914a53fda7 LF-7016-1: arm64: imx8m: vpu: change file mode to 644
Change file mode to 644 to comply with community rule.

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2023-10-30 15:58:06 +08:00
Shijie Qin
727e8270ff MA-19423-1 arm64: imx8mp: vpu: vc8000e: add new ioctl to read/write HW registers
Userspace could select through the new ioctl to read/write VPU HW
registers, instead of through mmap HW registers.
This method generally used for secure mode that avoid userspace directly
access HW registers.

Signed-off-by: Shijie Qin <shijie.qin@nxp.com>
Reviewed-by: Zhou Peng <eagle.zhou@nxp.com>
2023-10-30 15:58:02 +08:00
Zhou Peng
1ac8cedb8c MLK-23377-2: arm64: imx8mp: vc8000e: fix system hang in suspend/resume operation
Add suspend related operation:
- add ioctl 'HX280ENC_IOCG_EN_CORE' to trigger HW in kernel
- backup/restore HW registers only after frame ready interrupt received
- notify application re-config HW to avoid unexpected HW behavior

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2023-10-30 15:57:59 +08:00
Zhou Peng
bc323c7897 MLK-23211-1: arm64: imx8mp: vpu: add vc8000e driver
Add vc8000e driver source code

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2023-10-30 15:57:59 +08:00