diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2018-09-12 21:42:20 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-20 10:25:23 -0500 |
commit | 44d8cc6f1a905e4bb1d4221a898abb0d7e9d100a (patch) | |
tree | 1901efb81cec5087aeda5ce03766319c7f5898c2 /lib/xz | |
parent | 15426dbb65c5b37680d27e84d58a1ed3b8532518 (diff) | |
download | linux-44d8cc6f1a905e4bb1d4221a898abb0d7e9d100a.tar.bz2 |
drm/amdkfd: Fix ATS capablity was not reported correctly on some APUs
Because CRAT_CU_FLAGS_IOMMU_PRESENT was not set in some BIOS crat, we
need to workaround this.
For future compatibility, we also overwrite the bit in capability according
to the value of needs_iommu_device.
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/xz')
0 files changed, 0 insertions, 0 deletions