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/capture_v20.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/drivers/media/platform/rockchip/isp/capture_v20.c b/kernel/drivers/media/platform/rockchip/isp/capture_v20.c
index 2092981..a349bdd 100644
--- a/kernel/drivers/media/platform/rockchip/isp/capture_v20.c
+++ b/kernel/drivers/media/platform/rockchip/isp/capture_v20.c
@@ -1392,10 +1392,10 @@
stream->curr_buf->vb.sequence =
atomic_read(&stream->sequence) - 1;
if (!ns)
- ns = ktime_get_ns();
+ ns = rkisp_time_get_ns(dev);
vb2_buf->timestamp = ns;
- ns = ktime_get_ns();
+ ns = rkisp_time_get_ns(dev);
stream->dbg.interval = ns - stream->dbg.timestamp;
stream->dbg.timestamp = ns;
stream->dbg.id = stream->curr_buf->vb.sequence;
@@ -1439,7 +1439,7 @@
u32 sizeimage = vb2_plane_size(&stream->curr_buf->vb.vb2_buf, 0);
u32 *buf = (u32 *)vb2_plane_vaddr(&stream->curr_buf->vb.vb2_buf, 0);
- *(u64 *)(buf + sizeimage / 4 - 2) = ktime_get_ns();
+ *(u64 *)(buf + sizeimage / 4 - 2) = rkisp_time_get_ns(dev);
stream->curr_buf->dev_id = dev->dev_id;
rkisp_bridge_save_spbuf(dev, stream->curr_buf);
} else {
--
Gitblit v1.6.2