aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorNatalie Vock <[email protected]>2025-03-10 17:08:05 +0000
committerAlex Deucher <[email protected]>2025-03-12 18:59:21 +0000
commit6cc30748e17ea2a64051ceaf83a8372484e597f1 (patch)
tree6a7415f4b8216671b542c17d38a9575ff5473dc5 /rust/helpers/helpers.c
parentdrm/amd/amdkfd: Evict all queues even HWS remove queue failed (diff)
downloadkernel-6cc30748e17ea2a64051ceaf83a8372484e597f1.tar.gz
kernel-6cc30748e17ea2a64051ceaf83a8372484e597f1.zip
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 <[email protected]> Signed-off-by: Natalie Vock <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 3e3fcd29b505cebed659311337ea03b7698767fc) Cc: [email protected] # 6.12.x
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions