diff options
| author | Philip Yang <[email protected]> | 2024-07-25 19:10:43 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-08-06 10:40:30 -0400 |
| commit | 1cb62da0802c8f08e26443a5409edba99b8a1f6e (patch) | |
| tree | 150eda3a4155d14d77f1e6107b50c0e6b729ed10 /tools/perf/scripts/python | |
| parent | 3e048c8846a658098d935df83050170c8a8fb104 (diff) | |
drm/amdkfd: Fix compile error if HMM support not enabled
Fixes the below if kernel config not enable HMM support
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:107:26: error:
implicit declaration of function 'svm_range_from_addr'
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:107:24: error:
assignment to 'struct svm_range *' from 'int' makes pointer from integer
without a cast [-Wint-conversion]
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:111:28: error:
invalid use of undefined type 'struct svm_range'
Fixes: b049504e211e ("drm/amdkfd: Validate user queue svm memory residency")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Philip Yang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions