From 7328860a2e0495a02433c1c8d3f58dbfc29d8c8b Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Sun, 8 Sep 2024 10:40:02 +0300 Subject: [PATCH] hook-functions: add missing module dependencies for Qualcomm plaforms - qmi_helpers uses AF_QIPCRTR to communicate, but there is no dependency on qrtr module, providing that address family - panel-edp might require PWM backlight, but there is no corresponding devlink / dependency - drm/msm driver uses Type-C modules on DisplayPort-enabled platforms, but devlinks can be missing because of the devlink loop resolution. Signed-off-by: Dmitry Baryshkov --- hook-functions | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hook-functions b/hook-functions index ab06ea0..df7ccd0 100644 --- a/hook-functions +++ b/hook-functions @@ -875,6 +875,17 @@ hidden_dep_add_modules() mt6397) echo mtk-pmic-wrap ;; + qmi_helpers) + echo qrtr + ;; + panel-edp) + # panels don't have devlink to backlight + echo pwm_bl + ;; + msm) + # DP devices which don't have devlinks + echo pmic_glink_altmode gpio_sbu_mux + ;; esac done )