]> git.baikalelectronics.ru Git - kernel.git/commit
media: venus: Add new interface queues reinit
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Thu, 30 Jul 2020 11:46:32 +0000 (13:46 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Sep 2020 12:13:29 +0000 (14:13 +0200)
commit6cdeb116344cb00e40428b4f147a6ca2ee005300
treebef7347dd54becd53958178ab358217d25495d7e
parent161781d999699bb3bb69b065ed6cb7ed7e60ac96
media: venus: Add new interface queues reinit

Presently the recovery mechanism is using two hfi functions
to destroy and create interface queues. For the purpose of
recovery we don't need to free and allocate the memory used
for interface message queues, that's why we introduce new
function which just reinit the queues.  Also this will give
to the recovery procedure one less reason to fail (if for
some reason we couldn't allocate memory).

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Reviewed-by: Fritz Koenig <frkoenig@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/core.c
drivers/media/platform/qcom/venus/hfi.c
drivers/media/platform/qcom/venus/hfi.h
drivers/media/platform/qcom/venus/hfi_venus.c
drivers/media/platform/qcom/venus/hfi_venus.h