Re: [PATCH 1/1] drm/amdkfd: fix build error with AMD_IOMMU_V2=m

From: Arnd Bergmann
Date: Thu Mar 11 2021 - 05:03:38 EST


On Tue, Mar 9, 2021 at 7:34 PM Christian König <christian.koenig@xxxxxxx> wrote:
> Am 09.03.21 um 18:59 schrieb Alex Deucher:
>
> There has been quite some effort for this already for generic PASID
> interface etc.. But it looks like that effort is stalled by now.
>
> Anyway at least I'm perfectly fine to have the IOMMUv2 || !IOMMUv2
> dependency on the core amdgpu driver for x86.
>
> That should solve the build problem at hand quite nicely.

Right, that sounds better than the IS_REACHABLE() hack, and would fix
the immediate build regression until the driver is changed to use the proper
IOMMU interfaces.

Arnd