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

Arnd Bergmann arnd at kernel.org
Thu Mar 11 10:02:44 UTC 2021


On Tue, Mar 9, 2021 at 7:34 PM Christian König <christian.koenig at amd.com> 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


More information about the dri-devel mailing list