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/ispp/regs.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/kernel/drivers/media/platform/rockchip/ispp/regs.h b/kernel/drivers/media/platform/rockchip/ispp/regs.h
index e44e3a8..4a4eb91 100644
--- a/kernel/drivers/media/platform/rockchip/ispp/regs.h
+++ b/kernel/drivers/media/platform/rockchip/ispp/regs.h
@@ -314,11 +314,14 @@
 #define RKISPP_FEC_MESH_YFRA_BASE_SHD	(RKISPP_FEC + 0x0040)
 #define RKISPP_FEC_WR_Y_BASE_SHD	(RKISPP_FEC + 0x0044)
 #define RKISPP_FEC_WR_UV_BASE_SHD	(RKISPP_FEC + 0x0048)
+#define RKISPP_FEC_FBCE_HEAD_OFFSET	(RKISPP_FEC + 0x0050)
 #define RKISPP_FEC_CORE_CTRL		(RKISPP_FEC + 0x0080)
 #define RKISPP_FEC_PIC_SIZE		(RKISPP_FEC + 0x0088)
+#define RKISPP_FEC_DST_SIZE		(RKISPP_FEC + 0x0088)
 #define RKISPP_FEC_MESH_SIZE		(RKISPP_FEC + 0x008C)
 #define RKISPP_FEC_DMA_STATUS		(RKISPP_FEC + 0x0090)
 #define RKISPP_FEC_CROP			(RKISPP_FEC + 0x0094)
+#define RKISPP_FEC_SRC_SIZE		(RKISPP_FEC + 0x0098)
 
 #define FMT_WR_MASK			GENMASK(7, 4)
 #define FMT_RD_MASK			GENMASK(3, 0)
@@ -507,9 +510,11 @@
 
 /* FEC_CORE_CTRL */
 #define SW_FEC_EN_SHD			BIT(31)
+#define SW_OFFSET_ENABLE		BIT(31)
 #define SW_MINBUF_NON_UPDATE_SHD	BIT(30)
 #define SW_MINBUF_NON_UPDATE		BIT(6)
 #define SW_MESH_DENSITY			BIT(5)
+#define SW_BIC_MODE			GENMASK(4, 3)
 #define SW_FEC2DDR_DIS			BIT(1)
 #define SW_FEC_EN			BIT(0)
 

--
Gitblit v1.6.2