diff options
author | Philip Yang <Philip.Yang@amd.com> | 2022-04-04 17:25:23 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-04-06 10:14:46 -0400 |
commit | 96621ca578dbadeb12bd190e0733cdc5c76899d8 (patch) | |
tree | 3824681cd5e6483d070c689f6c7eb7eb6f21fac7 /drivers/powercap | |
parent | 78174f477081b61b21c6f8b616234b00ce556840 (diff) |
drm/amdkfd: Add missing NULL check in svm_range_map_to_gpu
bo_adev is NULL for system memory mapping to GPU.
Fixes: 30671b44aa570a ("drm/amdgpu: fix TLB flushing during eviction")
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions