mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
Previous method with /etc/modprobe.d was unreliable: with 7.0 kernel amdxdna depends on amd-pmf module. With "insmod" in modprobe.d the driver was sometimes loaded before amd-pmf, failing with "Unknown symbol amd_pmf_get_npu_data". But depmod.d is both reliable and clean way to override in-tree driver with out-of-tree one (i. e. respects "depends" section that one can see in `modinfo amdxdna`). Signed-off-by: Sv. Lockal <lockalsash@gmail.com>