Skip to content
Snippets Groups Projects
Commit 2fd9d2b7 authored by PhilipY's avatar PhilipY
Browse files

drm/amdkfd: Add missing NULL check in svm_range_map_to_gpu


bo_adev is NULL for system memory mapping to GPU.

Fixes: 05fe8eec (drm/amdgpu: fix TLB flushing during eviction)
Signed-off-by: default avatarPhilip Yang <Philip.Yang@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
parent 7dd875cb
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment