From 2f7c68cb55ecb7331f2381deb497c27155f32faf Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 03 Jan 2024 09:43:39 +0000
Subject: [PATCH] update kernel to 5.10.198

---
 kernel/include/soc/rockchip/rockchip_rockit.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/kernel/include/soc/rockchip/rockchip_rockit.h b/kernel/include/soc/rockchip/rockchip_rockit.h
index 9d3a34b..760a864 100644
--- a/kernel/include/soc/rockchip/rockchip_rockit.h
+++ b/kernel/include/soc/rockchip/rockchip_rockit.h
@@ -35,6 +35,7 @@
 	int cur_fps;
 	u64 old_time;
 	bool is_discard;
+	struct mutex freebuf_lock;
 };
 
 struct ISP_VIDEO_FRAMES {
@@ -132,6 +133,7 @@
 int rkisp_rockit_get_tb_stream_info(struct rockit_cfg *input_rockit_cfg,
 				    struct rkisp_tb_stream_info *info);
 int rkisp_rockit_free_tb_stream_buf(struct rockit_cfg *input_rockit_cfg);
+int rkisp_rockit_free_stream_buf(struct rockit_cfg *input_rockit_cfg);
 
 void *rkcif_rockit_function_register(void *function, int cmd);
 int rkcif_rockit_get_cifdev(char **name);
@@ -175,6 +177,11 @@
 	return -EINVAL;
 }
 
+static inline int rkisp_rockit_free_stream_buf(struct rockit_cfg *input_rockit_cfg)
+{
+	return -EINVAL;
+}
+
 #endif
 
 #endif

--
Gitblit v1.6.2