diff options
| author | Philip Yang <Philip.Yang@amd.com> | 2017-11-27 18:29:44 -0500 |
|---|---|---|
| committer | Oded Gabbay <oded.gabbay@gmail.com> | 2017-11-27 18:29:44 -0500 |
| commit | 3c0b42809071cb6d779b9c4a573edd5d12654f43 (patch) | |
| tree | 564999afa490002154f1bf5e3405be9cff679c83 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | drm/amdgpu: fix get_max_engine_clock_in_mhz (diff) | |
| download | linux-3c0b42809071cb6d779b9c4a573edd5d12654f43.tar.gz linux-3c0b42809071cb6d779b9c4a573edd5d12654f43.zip | |
drm/amdkfd: Add crash protection in debugger register path
After debugger is registered, the pqm_destroy_queue fails because is_debug
is true, the queue should not be removed from process_queue_list since
the count is not reduced.
Test application calls debugger unregister without register debugger, add
null pointer check protection to avoid crash for this case
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
