From da2e5ab836c8b81497ec7e97727b33dea3a7b719 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 30 Mar 2022 12:21:08 +0200 Subject: 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 --- recipes-kernel/linux/modprobe-conf.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes-kernel/linux/modprobe-conf.bb (limited to 'recipes-kernel/linux') 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" -- cgit v1.2.3