diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2022-03-30 12:21:08 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2022-04-07 12:59:03 +0200 |
commit | da2e5ab836c8b81497ec7e97727b33dea3a7b719 (patch) | |
tree | 44ceff3212550d35567d16a899caddc6c74626f6 /recipes-kernel/linux | |
parent | 89781932e09baa205e823969891c01e325bbc750 (diff) |
verdin-imx8mm: mainline: don't load etnaviv and hantro modules
Suspend/resume seems to not work if these modules are loaded and currently
the display output doesn't work so they serve no real purpose.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-kernel/linux')
-rw-r--r-- | recipes-kernel/linux/modprobe-conf.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-kernel/linux/modprobe-conf.bb b/recipes-kernel/linux/modprobe-conf.bb new file mode 100644 index 0000000..adad17d --- /dev/null +++ b/recipes-kernel/linux/modprobe-conf.bb @@ -0,0 +1,16 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +# The verdin-imx8mm does hang during resume if etnaviv and/or hantro_vpu +# are loaded. As graphics currently anyway doesn't work anyway do not +# load these modules +do_install:append:verdin-imx8mm () { + install -d ${D}${sysconfdir}/modprobe.d + echo "blacklist etnaviv" > ${D}${sysconfdir}/modprobe.d/imx8mm-blacklist.conf + echo "blacklist hantro_vpu" >> ${D}${sysconfdir}/modprobe.d/imx8mm-blacklist.conf +} + +ALLOW_EMPTY:${PN} = "1" +FILES:${PN} = " ${sysconfdir}/modprobe.d" |