From: Hungyu Lin <dennylin0707@gmail.com>
To: linux-media@vger.kernel.org
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
vikash.garodia@oss.qualcomm.com, abhinav.kumar@linux.dev,
bod@kernel.org, mchehab@kernel.org, hverkuil@kernel.org,
stefan.schmidt@linaro.org, Hungyu Lin <dennylin0707@gmail.com>
Subject: [PATCH v4 0/2] media: qcom: iris: fix runtime PM reference handling
Date: Sun, 7 Jun 2026 23:28:39 +0000 [thread overview]
Message-ID: <20260607232841.79275-1-dennylin0707@gmail.com> (raw)
This series fixes runtime PM reference handling issues in the Qualcomm
Iris driver.
Changes since v3:
- Patch 1:
- Added Dmitry Baryshkov's Reviewed-by tag.
- Patch 2:
- Reworked the OPP vote rollback path to use a standard goto-based
error handling flow as suggested during review.
Patch 1 replaces pm_runtime_get_sync() with
pm_runtime_resume_and_get() and ensures runtime PM references remain
balanced during power domain enable and disable sequences.
Patch 2 rolls back the maximum OPP vote when
pm_runtime_resume_and_get() fails, preventing stale performance state
votes from remaining active on error paths.
Hungyu Lin (2):
media: qcom: iris: fix runtime PM reference leaks
media: qcom: iris: rollback OPP vote on PM resume failure
drivers/media/platform/qcom/iris/iris_resources.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
--
2.34.1
next reply other threads:[~2026-06-07 23:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-07 23:28 Hungyu Lin [this message]
2026-06-07 23:28 ` [PATCH v4 1/2] media: qcom: iris: fix runtime PM reference leaks Hungyu Lin
2026-06-08 7:38 ` Konrad Dybcio
2026-06-07 23:28 ` [PATCH v4 2/2] media: qcom: iris: rollback OPP vote on PM resume failure Hungyu Lin
2026-06-08 6:29 ` Vishnu Reddy
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=20260607232841.79275-1-dennylin0707@gmail.com \
--to=dennylin0707@gmail.com \
--cc=abhinav.kumar@linux.dev \
--cc=bod@kernel.org \
--cc=hverkuil@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=stefan.schmidt@linaro.org \
--cc=vikash.garodia@oss.qualcomm.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
all inboxes | Powered by JetHome®