summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
diff options
context:
space:
mode:
authorYong Zhao <Yong.Zhao@amd.com>2018-09-12 21:42:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-09-20 10:25:23 -0500
commit44d8cc6f1a905e4bb1d4221a898abb0d7e9d100a (patch)
tree1901efb81cec5087aeda5ce03766319c7f5898c2 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
parent15426dbb65c5b37680d27e84d58a1ed3b8532518 (diff)
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
0 files changed, 0 insertions, 0 deletions