From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 08:20:59 +0000 Subject: [PATCH] kernel_5.10 no rt --- kernel/include/soc/rockchip/rockchip_rockit.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/kernel/include/soc/rockchip/rockchip_rockit.h b/kernel/include/soc/rockchip/rockchip_rockit.h index 212351b..9d3a34b 100644 --- a/kernel/include/soc/rockchip/rockchip_rockit.h +++ b/kernel/include/soc/rockchip/rockchip_rockit.h @@ -14,6 +14,13 @@ #define ROCKIT_VICAP_NUM_MAX 6 +enum { + RKISP_NORMAL_ONLINE, + RKISP_NORMAL_OFFLINE, + RKISP_FAST_ONLINE, + RKISP_FAST_OFFLINE, +}; + enum function_cmd { ROCKIT_BUF_QUE, ROCKIT_MPIBUF_DONE @@ -116,6 +123,7 @@ void *rkisp_rockit_function_register(void *function, int cmd); int rkisp_rockit_get_ispdev(char **name); +int rkisp_rockit_get_isp_mode(const char *name); int rkisp_rockit_buf_queue(struct rockit_cfg *input_rockit_cfg); int rkisp_rockit_pause_stream(struct rockit_cfg *input_rockit_cfg); int rkisp_rockit_resume_stream(struct rockit_cfg *input_rockit_cfg); @@ -137,6 +145,7 @@ static inline void *rkisp_rockit_function_register(void *function, int cmd) { return NULL; } static inline int rkisp_rockit_get_ispdev(char **name) { return -EINVAL; } +static inline int rkisp_rockit_get_isp_mode(const char *name) { return -EINVAL; } static inline int rkisp_rockit_buf_queue(struct rockit_cfg *input_rockit_cfg) { return -EINVAL; -- Gitblit v1.6.2