From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/media/platform/rockchip/isp/common.h | 27 +--------------------------
1 files changed, 1 insertions(+), 26 deletions(-)
diff --git a/kernel/drivers/media/platform/rockchip/isp/common.h b/kernel/drivers/media/platform/rockchip/isp/common.h
index 609d950..ebd4095 100644
--- a/kernel/drivers/media/platform/rockchip/isp/common.h
+++ b/kernel/drivers/media/platform/rockchip/isp/common.h
@@ -184,32 +184,6 @@
void rkisp_next_set_reg_cache_bits(struct rkisp_device *dev, u32 reg, u32 mask, u32 val);
void rkisp_next_clear_reg_cache_bits(struct rkisp_device *dev, u32 reg, u32 mask);
-static inline void
-rkisp_unite_write(struct rkisp_device *dev, u32 reg, u32 val, bool is_direct, bool is_unite)
-{
- rkisp_write(dev, reg, val, is_direct);
- if (is_unite)
- rkisp_next_write(dev, reg, val, is_direct);
-}
-
-static inline void
-rkisp_unite_set_bits(struct rkisp_device *dev, u32 reg, u32 mask,
- u32 val, bool is_direct, bool is_unite)
-{
- rkisp_set_bits(dev, reg, mask, val, is_direct);
- if (is_unite)
- rkisp_next_set_bits(dev, reg, mask, val, is_direct);
-}
-
-static inline void
-rkisp_unite_clear_bits(struct rkisp_device *dev, u32 reg, u32 mask,
- bool is_direct, bool is_unite)
-{
- rkisp_clear_bits(dev, reg, mask, is_direct);
- if (is_unite)
- rkisp_next_clear_bits(dev, reg, mask, is_direct);
-}
-
void rkisp_update_regs(struct rkisp_device *dev, u32 start, u32 end);
int rkisp_alloc_buffer(struct rkisp_device *dev, struct rkisp_dummy_buffer *buf);
@@ -222,4 +196,5 @@
void rkisp_free_common_dummy_buf(struct rkisp_device *dev);
void rkisp_set_clk_rate(struct clk *clk, unsigned long rate);
+u64 rkisp_time_get_ns(struct rkisp_device *dev);
#endif /* _RKISP_COMMON_H */
--
Gitblit v1.6.2