Skip to content

Commit 2b4adeb

Browse files
committed
drm/amdkfd: disable IOMMUv2 support for Raven
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. 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>
1 parent 99c1501 commit 2b4adeb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/gpu/drm/amd/amdkfd/kfd_device.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,6 @@ static void kfd_device_info_init(struct kfd_dev *kfd,
194194

195195
kfd_device_info_set_event_interrupt_class(kfd);
196196

197-
/* Raven */
198-
if (gc_version == IP_VERSION(9, 1, 0) ||
199-
gc_version == IP_VERSION(9, 2, 2))
200-
kfd->device_info.needs_iommu_device = true;
201-
202197
if (gc_version < IP_VERSION(11, 0, 0)) {
203198
/* Navi2x+, Navi1x+ */
204199
if (gc_version == IP_VERSION(10, 3, 6))
@@ -292,15 +287,13 @@ struct kfd_dev *kgd2kfd_probe(struct amdgpu_device *adev, bool vf)
292287
gfx_target_version = 90000;
293288
f2g = &gfx_v9_kfd2kgd;
294289
break;
295-
#ifdef KFD_SUPPORT_IOMMU_V2
296290
/* Raven */
297291
case IP_VERSION(9, 1, 0):
298292
case IP_VERSION(9, 2, 2):
299293
gfx_target_version = 90002;
300294
if (!vf)
301295
f2g = &gfx_v9_kfd2kgd;
302296
break;
303-
#endif
304297
/* Vega12 */
305298
case IP_VERSION(9, 2, 1):
306299
gfx_target_version = 90004;

0 commit comments

Comments
 (0)