diff options
| author | Mansur Alisha Shaik <mansur@codeaurora.org> | 2020-05-01 08:28:00 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-04 12:25:55 +0200 |
| commit | e0eb34810113dbbf1ace57440cf48d514312a373 (patch) | |
| tree | fdabdd9af8ff98800a501773df5d35750cebdac7 /tools/perf/scripts/python/flamegraph.py | |
| parent | 3b4cfc6966ecaefdf46a1369923a55e7bdc86d19 (diff) | |
| download | linux-e0eb34810113dbbf1ace57440cf48d514312a373.tar.gz linux-e0eb34810113dbbf1ace57440cf48d514312a373.zip | |
media: venus: fix multiple encoder crash
Currently we are considering the instances which are available
in core->inst list for load calculation in min_loaded_core()
function, but this is incorrect because by the time we call
decide_core() for second instance, the third instance not
filled yet codec_freq_data pointer.
Solve this by considering the instances whose session has started.
Cc: stable@vger.kernel.org # v5.7+
Fixes: 4ebf969375bc ("media: venus: introduce core selection")
Tested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Mansur Alisha Shaik <mansur@codeaurora.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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
