[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20231201140433.2126011-3-paul.elder@ideasonboard.com>
Date: Fri, 1 Dec 2023 23:04:31 +0900
From: Paul Elder <paul.elder@...asonboard.com>
To: linux-media@...r.kernel.org, linux-rockchip@...ts.infradead.org
Cc: laurent.pinchart@...asonboard.com, kieran.bingham@...asonboard.com,
tomi.valkeinen@...asonboard.com, umang.jain@...asonboard.com,
Paul Elder <paul.elder@...asonboard.com>,
Alexander Stein <alexander.stein@...tq-group.com>,
Dafna Hirschfeld <dafna@...tmail.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Heiko Stuebner <heiko@...ech.de>,
linux-arm-kernel@...ts.infradead.org (moderated list:ARM/Rockchip SoC
support), linux-kernel@...r.kernel.org (open list)
Subject: [PATCH v2 2/4] media: rkisp1: debug: Add register dump for IS
Add register dump for the ISP image stabilizer module to debugfs. This
helps debugging issues related to digital zoom.
Signed-off-by: Paul Elder <paul.elder@...asonboard.com>
Tested-by: Alexander Stein <alexander.stein@...tq-group.com>
Reviewed-by: Kieran Bingham <kieran.bingham@...asonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@...asonboard.com>
---
Changes in v2:
- Move from IS debugfs file into the ISP debugfs file
drivers/media/platform/rockchip/rkisp1/rkisp1-debug.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/media/platform/rockchip/rkisp1/rkisp1-debug.c b/drivers/media/platform/rockchip/rkisp1/rkisp1-debug.c
index 71df3dc95e6f..d2fbed42164e 100644
--- a/drivers/media/platform/rockchip/rkisp1/rkisp1-debug.c
+++ b/drivers/media/platform/rockchip/rkisp1/rkisp1-debug.c
@@ -92,6 +92,10 @@ static int rkisp1_debug_dump_isp_regs_show(struct seq_file *m, void *p)
RKISP1_DEBUG_REG(ISP_FLAGS_SHD),
RKISP1_DEBUG_REG(ISP_RIS),
RKISP1_DEBUG_REG(ISP_ERR),
+ RKISP1_DEBUG_SHD_REG(ISP_IS_H_OFFS),
+ RKISP1_DEBUG_SHD_REG(ISP_IS_V_OFFS),
+ RKISP1_DEBUG_SHD_REG(ISP_IS_H_SIZE),
+ RKISP1_DEBUG_SHD_REG(ISP_IS_V_SIZE),
{ /* Sentinel */ },
};
struct rkisp1_device *rkisp1 = m->private;
--
2.39.2
Powered by blists - more mailing lists