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-11 19:37:10 +0300 |
commit | 3e3fcd29b505cebed659311337ea03b7698767fc (patch) | |
tree | e713216da088274616b4632229ebcb43dfa5f699 /scripts/gdb/linux/utils.py | |
parent | 37c890d83161ff725a735d02afc52a021caaf7d6 (diff) | |
download | linux-3e3fcd29b505cebed659311337ea03b7698767fc.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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions