]> git.baikalelectronics.ru Git - kernel.git/commit
media: venus: vdec: ensure venus is powered on during stream off
authorVikash Garodia <quic_vgarodia@quicinc.com>
Tue, 12 Apr 2022 13:15:11 +0000 (14:15 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 07:32:13 +0000 (08:32 +0100)
commit1e536ada6e6f085f9df397a67bf782eb0be1d369
tree4c95ad6029478c2de5572052ab55e35a7d0962da
parente6fcae3f8ce8b0d71d5b8918d9a057b0f626f81a
media: venus: vdec: ensure venus is powered on during stream off

Video decoder driver auto-suspends the hardware if there is no
exchange of command or response for certain amount of time.
In auto suspended state, it becomes mandatory to power on the
hardware before requesting it to process a command. The fix
ensures the hardware is powered on during stop streaming.

Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/qcom/venus/vdec.c