aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2024-06-03 10:46:10 +0200
committerAlex Deucher <alexander.deucher@amd.com>2024-06-27 17:09:46 -0400
commitc71c9aafd5faa579e6ffe32018071c7af97d5a2e (patch)
tree9e1acf150eab293664811f85d626f538986a12c9 /tools/perf/scripts/python
parentdrm/amdgpu: Fix pci state save during mode-1 reset (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions