Re: [PATCH 2/4] drm/amdkfd: disable IOMMUv2 support for KV/CZ

2023-07-28 Thread Felix Kuehling
There are some APU-specific code paths for Kaveri and Carrizo in the device queue manager and MQD manager. I think a minimal fix would be to change device_queue_manager_init to call device_queue_manager_init_cik_hawaii for Kaveri and device_queue_manager_init_vi_tonga for Carrizo to use the

[PATCH 2/4] drm/amdkfd: disable IOMMUv2 support for KV/CZ

2023-07-28 Thread Alex Deucher
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.