diff options
| author | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | 2024-06-03 10:46:10 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-27 17:09:46 -0400 |
| commit | c71c9aafd5faa579e6ffe32018071c7af97d5a2e (patch) | |
| tree | 9e1acf150eab293664811f85d626f538986a12c9 /tools/perf/scripts/python/task-analyzer.py | |
| parent | drm/amdgpu: Fix pci state save during mode-1 reset (diff) | |
| download | linux-c71c9aafd5faa579e6ffe32018071c7af97d5a2e.tar.gz linux-c71c9aafd5faa579e6ffe32018071c7af97d5a2e.zip | |
amdgpu: don't dereference a NULL resource in sysfs code
dma_resv_trylock being successful doesn't guarantee that bo->tbo.base.resv
is not NULL, so check its validity before using it.
Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
