diff options
author | Oak Zeng <Oak.Zeng@amd.com> | 2019-06-10 23:22:35 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-11 20:57:25 +0300 |
commit | 1ae99eab34f90c3a5319c79a910e6b71313a9aab (patch) | |
tree | fe21f3032137adc1228a32ad7d2845422a9cf0ea /drivers/gpu/drm/amd/amdkfd/kfd_device.c | |
parent | f77dac6cd62e5d4bcadd740620af1218bfb54cc6 (diff) | |
download | linux-1ae99eab34f90c3a5319c79a910e6b71313a9aab.tar.xz |
drm/amdkfd: Initialize HSA_CAP_ATS_PRESENT capability in topology codes
Move HSA_CAP_ATS_PRESENT initialization logic from kfd iommu codes to
kfd topology codes. This removes kfd_iommu_device_init's dependency
on kfd_topology_add_device. Also remove duplicate code setting the
same.
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_device.c')
0 files changed, 0 insertions, 0 deletions