]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdkfd: disable IOMMUv2 support for KV/CZ
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Jul 2023 15:34:59 +0000 (11:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Aug 2023 14:58:30 +0000 (10:58 -0400)
commit616f92d188ee7142a95a52068efdbea82645f859
treeaa19f8734dadf4382832ef6de36461cc8aa60240
parenta6dea2d64ff92851e68cd4e20a35f6534286e016
drm/amdkfd: disable IOMMUv2 support for KV/CZ

Use the dGPU path instead.  There were a lot of platform
issues with IOMMU in general on these chips due to windows
not enabling IOMMU at the time.  The dGPU path has been
used for a long time with newer APUs and works fine.  This
also paves the way to simplify the driver significantly.

v2: use the dGPU queue manager functions

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c