diff options
author | Natalie Vock <natalie.vock@gmx.de> | 2025-03-10 20:08:05 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-12 21:59:21 +0300 |
commit | 6cc30748e17ea2a64051ceaf83a8372484e597f1 (patch) | |
tree | 6a7415f4b8216671b542c17d38a9575ff5473dc5 /tools/perf/scripts/python/stackcollapse.py | |
parent | 0882ca4eecfe8b0013f339144acf886a0a0de41f (diff) | |
download | linux-6cc30748e17ea2a64051ceaf83a8372484e597f1.tar.xz |
drm/amdgpu: NULL-check BO's backing store when determining GFX12 PTE flags
PRT BOs may not have any backing store, so bo->tbo.resource will be
NULL. Check for that before dereferencing.
Fixes: 0cce5f285d9a ("drm/amdkfd: Check correct memory types for is_system variable")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Natalie Vock <natalie.vock@gmx.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 3e3fcd29b505cebed659311337ea03b7698767fc)
Cc: stable@vger.kernel.org # 6.12.x
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions