diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2018-09-12 21:42:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-18 09:18:17 +0200 |
commit | 3792c002b9ff85cd8551f36a8886d9ca0e3bcf8f (patch) | |
tree | 55fa8fb68dd755656564c7cf2fcd51f47ed351b9 /mm | |
parent | c2fd5b21cbd9fc777fde1509a3e709450094b1ba (diff) | |
download | linux-stable-3792c002b9ff85cd8551f36a8886d9ca0e3bcf8f.tar.gz linux-stable-3792c002b9ff85cd8551f36a8886d9ca0e3bcf8f.tar.bz2 linux-stable-3792c002b9ff85cd8551f36a8886d9ca0e3bcf8f.zip |
drm/amdkfd: Fix ATS capablity was not reported correctly on some APUs
[ Upstream commit 44d8cc6f1a905e4bb1d4221a898abb0d7e9d100a ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions