aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBenjamin Gaignard <[email protected]>2023-04-13 12:47:56 +0200
committerHans Verkuil <[email protected]>2023-04-13 12:58:55 +0200
commitf100ce3bbd6aa0093075b20b9dbd006686f6aedf (patch)
treee6d20de874eac327078f7e609e8583799093fd7f /tools/perf/scripts/python/exported-sql-viewer.py
parente18a7e9a2d34a32482e4069fcedf30a7bc9e9ef5 (diff)
media: verisilicon: Fix crash when probing encoder
ctx->vpu_dst_fmt is no more initialized before calling hantro_try_fmt() so assigne it to vpu_fmt led to crash the kernel. Like for decoder case use 'fmt' as format for encoder and clean up the code. Signed-off-by: Benjamin Gaignard <[email protected]> Tested-by: Marek Szyprowski <[email protected]> Fixes: db6f68b51e5c ("media: verisilicon: Do not set context src/dst formats in reset functions") Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions