summaryrefslogtreecommitdiff
path: root/rb5.mk
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2021-10-20 21:41:01 +0530
committerAmit Pundir <amit.pundir@linaro.org>2021-10-21 21:48:04 +0530
commitad3f2606906fb91647c451fbc566cc925414952c (patch)
treea0c9b468d2601eb2e3fa20f4440dbfae24b97976 /rb5.mk
parent307752944c952946a3c0e91c776d3c33de873be6 (diff)
downloaddragonboard-ad3f2606906fb91647c451fbc566cc925414952c.tar.gz
rb5.mk: Skip installing Venus driver modules for now
Having trouble with Venus drivers on RB5 a lot lately. Fw loading for Venus is broken, to begin with, ever since the FW_LOADER_USER_HELPER_FALLBACK kernel config is dropped from gki_defconfig in android-mainline kernel. And even though the fw loading will fail, the driver still create /dev/video{0,1} nodes which are highly unstable and cause kernel to panic at times. So lets skip installing Venus driver modules for the time being, while we wait for a viable fix to land upstream. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I67d7f51ff29ad5f5d46e03f958cc401c4f541a42
Diffstat (limited to 'rb5.mk')
-rw-r--r--rb5.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/rb5.mk b/rb5.mk
index 06e648e..dc70674 100644
--- a/rb5.mk
+++ b/rb5.mk
@@ -21,6 +21,7 @@ endif
ifeq ($(RB5_USES_GKI), true)
RB5_MODS := $(wildcard $(RB5_KERNEL_DIR)/*.ko)
ifneq ($(RB5_MODS),)
- BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(RB5_MODS)
+ RB5_SKIP_MODS := %/venus-core.ko %/venus-dec.ko %/venus-enc.ko
+ BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(filter-out $(RB5_SKIP_MODS),$(RB5_MODS))
endif
endif