Skip to content
Snippets Groups Projects
Commit d8528db6 authored by Natalie Vock's avatar Natalie Vock Committed by Linux Infrastructure
Browse files

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: 0cce5f28 ("drm/amdkfd: Check correct memory types for is_system variable")
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarNatalie Vock <natalie.vock@gmx.de>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7e7bf831
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment