diff options
| author | Natalie Vock <[email protected]> | 2025-03-10 17:08:05 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-03-12 18:59:21 +0000 |
| commit | 6cc30748e17ea2a64051ceaf83a8372484e597f1 (patch) | |
| tree | 6a7415f4b8216671b542c17d38a9575ff5473dc5 /rust/helpers/helpers.c | |
| parent | drm/amd/amdkfd: Evict all queues even HWS remove queue failed (diff) | |
| download | kernel-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
