]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/msm: Guard the QCOM_UBWC_CONFIG select with QCOM_SMEM
authorDaniel Baluta <daniel.baluta@nxp.com>
Mon, 17 Aug 2026 12:35:38 +0000 (15:35 +0300)
committerArnd Bergmann <arnd@arndb.de>
Tue, 18 Aug 2026 09:17:45 +0000 (11:17 +0200)
commita1ee4bb25b3bd97c1f46fe2968263b54f0be3c19
tree019c2bdb0ef62eab03f1645307ce60fd73b667e2
parent4e926dc3d6ad35089ca45af6d1cee36bc24a80fb
drm/msm: Guard the QCOM_UBWC_CONFIG select with QCOM_SMEM

QCOM_UBWC_CONFIG is about to depend on QCOM_SMEM. Guard the DRM_MSM
select with 'if ARCH_QCOM && QCOM_SMEM', and add
'depends on QCOM_SMEM || QCOM_SMEM=n' so a built-in driver is never
selected against a missing or modular SMEM.

Fixes: 1b445022d1d0 ("soc: qcom: ubwc: Get HBB from SMEM")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Acked-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Tested-by: Nathan Chancellor <nathan@kernel.org> # build
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/gpu/drm/msm/Kconfig