summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMing Qian <ming.qian@nxp.com>2024-08-28 16:01:24 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-10-12 16:28:24 +0200
commit7ade935392a35665f43dd37317ddb3ef1555378c (patch)
tree187eec91ad097287f2f7808789f2521aa9c799bd /tools/perf/scripts/python/export-to-postgresql.py
parent9d31522aa55794d2fd6de59c2dcee85b3bfee745 (diff)
downloadlinux-7ade935392a35665f43dd37317ddb3ef1555378c.tar.gz
linux-7ade935392a35665f43dd37317ddb3ef1555378c.zip
media: amphion: Guard memory allocation to catch failures
The firmware will ask the driver for memory allocation, but it will not check the completeness of the task. Therefore, the vpu will crash until reboot. This code will guard this bug and make the driver fail gracefully when memory allocation cannot be completed. Signed-off-by: Ming Qian <ming.qian@nxp.com> Reviewed-by: Zhou Peng <eagle.zhou@nxp.com> Signed-off-by: Mihai Despotovici <mihai.despotovici@nxp.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions