2019-03-29 14:12:17 +08:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2019-01-29 07:43:42 +08:00
|
|
|
From: Meng Wei <wei.meng@intel.com>
|
|
|
|
Date: Mon, 10 Dec 2018 11:09:11 +0800
|
2019-03-29 14:12:17 +08:00
|
|
|
Subject: [PATCH] media: Disable CSI EOF IRQ
|
2019-01-29 07:43:42 +08:00
|
|
|
|
|
|
|
Disabling CSI EOF IRQ to decrease 1 CPU wake up for every frame.
|
|
|
|
|
|
|
|
Change-Id: Ib2a9db7891bf6f760276bc5c5a342685f1a3f6d6
|
|
|
|
Tracked-On: PKT-1691
|
|
|
|
Signed-off-by: Hongyu Yi <hongyu.yi@intel.com>
|
|
|
|
Signed-off-by: Meng Wei <wei.meng@intel.com>
|
|
|
|
---
|
|
|
|
drivers/media/pci/intel/ipu-isys-video.c | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/drivers/media/pci/intel/ipu-isys-video.c b/drivers/media/pci/intel/ipu-isys-video.c
|
2019-03-29 14:12:17 +08:00
|
|
|
index d3815d3..d149354 100644
|
2019-01-29 07:43:42 +08:00
|
|
|
--- a/drivers/media/pci/intel/ipu-isys-video.c
|
|
|
|
+++ b/drivers/media/pci/intel/ipu-isys-video.c
|
|
|
|
@@ -1615,7 +1615,9 @@ int ipu_isys_video_set_streaming(struct ipu_isys_video *av,
|
|
|
|
if (ip->csi2) {
|
|
|
|
if (ip->csi2->stream_count == 1) {
|
|
|
|
v4l2_subdev_call(esd, video, s_stream, state);
|
|
|
|
+#if defined(CONFIG_VIDEO_INTEL_IPU4) || defined(CONFIG_VIDEO_INTEL_IPU4P)
|
|
|
|
ipu_isys_csi2_wait_last_eof(ip->csi2);
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
v4l2_subdev_call(esd, video, s_stream, state);
|
|
|
|
--
|
2019-03-29 14:12:17 +08:00
|
|
|
2.21.0
|
2019-01-29 07:43:42 +08:00
|
|
|
|