From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: linux-media@vger.kernel.org
Cc: Antti Laakso <antti.laakso@linux.intel.com>,
"Sapre, Sarang" <sarang.sapre@intel.com>,
Manik Bajpai <manik.bajpai@intel.com>,
Divyamani Tripathi <divyamani.tripathi@intel.com>
Subject: [PATCH v2 2/2] media: ipu6: Warn if the active list isn't empty when returning buffers
Date: Wed, 30 Sep 2026 12:37:09 +0300 [thread overview]
Message-ID: <20260930093709.2625661-3-sakari.ailus@linux.intel.com> (raw)
In-Reply-To: <20260930093709.2625661-1-sakari.ailus@linux.intel.com>
The ISYS needs a reset when the active buffer list isn't empty. Warn about
this.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
drivers/media/pci/intel/ipu6/ipu6-isys-queue.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/pci/intel/ipu6/ipu6-isys-queue.c b/drivers/media/pci/intel/ipu6/ipu6-isys-queue.c
index 2608e3b91acb..23d00e1f89e8 100644
--- a/drivers/media/pci/intel/ipu6/ipu6-isys-queue.c
+++ b/drivers/media/pci/intel/ipu6/ipu6-isys-queue.c
@@ -467,6 +467,8 @@ static void return_buffers(struct ipu6_isys_queue *aq,
mutex_lock(&av->isys->mutex);
av->isys->need_reset = true;
mutex_unlock(&av->isys->mutex);
+ dev_warn(&av->isys->adev->auxdev.dev,
+ "buffer list not empty, needs isys reset\n");
}
}
--
2.47.3
next prev parent reply other threads:[~2026-09-30 9:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 9:37 [PATCH v2 0/2] IPU6 fixes following multi-stream support Sakari Ailus
2026-09-30 9:37 ` [PATCH v2 1/2] media: ipu6: Reset need_reset in ISYS suspend Sakari Ailus
2026-09-30 9:37 ` Sakari Ailus [this message]
2026-09-30 9:53 ` [PATCH v2 0/2] IPU6 fixes following multi-stream support Antti Laakso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260930093709.2625661-3-sakari.ailus@linux.intel.com \
--to=sakari.ailus@linux.intel.com \
--cc=antti.laakso@linux.intel.com \
--cc=divyamani.tripathi@intel.com \
--cc=linux-media@vger.kernel.org \
--cc=manik.bajpai@intel.com \
--cc=sarang.sapre@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox