Dear Alex,
On 07/30/18 17:32, Alex Deucher wrote: > On Mon, Jul 30, 2018 at 11:25 AM, Paul Menzel wrote: >> On 07/30/18 15:53, Oded Gabbay wrote: >>> Do you have IOMMUv2 enabled on this chipset? >> >> No, I did not. With `AMD_IOMMU_V2` selected, the device is found. >> >> ``` >> $ grep AMD_IOMMU /boot/config-4.18.0-rc3-01368-gb5aa3f4aef72 >> CONFIG_AMD_IOMMU=y >> CONFIG_AMD_IOMMU_V2=m >> $ sudo dmesg | grep -i kfd >> [sudo] password for paul: >> [ 20.767499] calling kfd_module_init+0x0/0x1000 [amdkfd] @ 365 >> [ 20.770567] kfd kfd: Initialized module >> [ 20.771195] initcall kfd_module_init+0x0/0x1000 [amdkfd] returned 0 after >> 3598 usecs >> [ 20.893432] Modules linked in: amdkfd amd_iommu_v2 snd_hda_codec_realtek >> crct10dif_pclmul crc32_pclmul snd_hda_codec_hdmi snd_hda_codec_generic >> ghash_clmulni_intel snd_hda_intel amdgpu(+) i2c_piix4 r8169 k10temp >> snd_hda_codec snd_hda_core mii snd_hwdep snd_pcm snd_timer snd chash >> soundcore gpu_sched wmi video crc32c_intel xhci_pci xhci_hcd >> [ 20.948465] kfd kfd: Allocated 3969056 bytes on gart >> [ 20.948663] kfd kfd: added device 1002:15dd >> ``` >> >>> If not, amdkfd won't include raven support. >> >> Hmm, then the warning is very confusing. Also, shouldn’t the build >> system ensure that the dependencies are selected? > > It's only required for APUs. If you use a dGPU in a intel system for > example, you may not want the AMD IOMMU driver. Yes, I understand that, but couldn’t that be documented in the Kconfig help text? It looks like *imply* is used already, but that is not shown in menuconfig, if I am not mistaken. > config HSA_AMD > tristate "HSA kernel driver for AMD GPU devices" > depends on DRM_AMDGPU && X86_64 > imply AMD_IOMMU_V2 > select MMU_NOTIFIER > help > Enable this if you want to use HSA features on AMD GPU devices. Kind regards, Paul
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx