summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorStanimir Varbanov <stanimir.varbanov@linaro.org>2020-12-04 13:01:37 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-01-13 11:06:17 +0300
commit20891170f339a8754312a877f3d17f0e5dadd599 (patch)
tree087fa77a444163b2d9288702231a1c958dc245af /tools/perf/scripts/python/bin
parent5f2ca73dcca96c3de96a0e4d9ea24ebb46c55d2e (diff)
downloadlinux-20891170f339a8754312a877f3d17f0e5dadd599.tar.xz
media: venus: Limit HFI sessions to the maximum supported
Currently we rely on firmware to return error when we reach the maximum supported number of sessions. But this errors are happened at reqbuf time which is a bit later. The more reasonable way looks like is to return the error on driver open. To achieve that modify hfi_session_create to return error when we reach maximum count of sessions and thus refuse open. Tested-by: Fritz Koenig <frkoenig@chromium.org> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions