From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Eugen Hristev <eugen.hristev@collabora.com>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-mediatek@lists.infradead.org
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, kernel@collabora.com,
tiffany.lin@mediatek.com, andrew-ct.chen@mediatek.com,
matthias.bgg@gmail.com
Subject: Re: [PATCH 2/4] media: mediatek: vcodec: fix possible unbalanced PM counter
Date: Thu, 14 Dec 2023 11:45:01 +0100 [thread overview]
Message-ID: <23255060-5a75-4cbe-9fde-f185fa958a6a@collabora.com> (raw)
In-Reply-To: <20231213122017.102100-2-eugen.hristev@collabora.com>
Il 13/12/23 13:20, Eugen Hristev ha scritto:
> It is possible that mtk_vcodec_enc_pw_on fails, and in that scenario
> the PM counter is not incremented, and subsequent call to
> mtk_vcodec_enc_pw_off decrements the counter, leading to a PM imbalance.
> Fix by bailing out of venc_if_encode in the case when mtk_vcodec_enc_pw_on
> fails.
>
> Fixes: 4e855a6efa54 ("[media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver")
> Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregnoòcollabora.com>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-12-14 10:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-13 12:20 [PATCH 1/4] dt-bindings: media: mtk-vcodec-encoder: add dma-ranges Eugen Hristev
2023-12-13 12:20 ` [PATCH 2/4] media: mediatek: vcodec: fix possible unbalanced PM counter Eugen Hristev
2023-12-14 10:45 ` AngeloGioacchino Del Regno [this message]
2023-12-13 12:20 ` [PATCH 3/4] arm64: dts: mediatek: mt8186: fix VENC power domain clocks Eugen Hristev
2023-12-13 12:20 ` [PATCH 4/4] arm64: dts: mediatek: mt8186: Add venc node Eugen Hristev
2023-12-14 10:44 ` AngeloGioacchino Del Regno
2023-12-14 10:50 ` AngeloGioacchino Del Regno
2023-12-14 10:52 ` Eugen Hristev
2023-12-14 15:30 ` Eugen Hristev
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=23255060-5a75-4cbe-9fde-f185fa958a6a@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=andrew-ct.chen@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=eugen.hristev@collabora.com \
--cc=kernel@collabora.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=tiffany.lin@mediatek.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