summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2025-03-06 15:51:48 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-03-07 12:55:56 -0500
commit1435e895d4fc967d64e9f5bf81e992ac32f5ac76 (patch)
tree9fa8aa7bf7c0ee8e0fb10fe78b16705b391b268b /tools/perf/scripts/python/call-graph-from-postgresql.py
parentbd4b125eb949785c6f8a53b0494e32795421209d (diff)
drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()
Add error handling to propagate amdgpu_cgs_create_device() failures to the caller. When amdgpu_cgs_create_device() fails, release hwmgr and return -ENOMEM to prevent null pointer dereference. [v1]->[v2]: Change error code from -EINVAL to -ENOMEM. Free hwmgr. Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions