aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackie Liu <[email protected]>2021-11-10 15:09:49 +0800
committerRob Clark <[email protected]>2021-12-07 14:47:11 -0800
commit53d22794711ad630f40d59dd726bd260d77d585f (patch)
treea698e1274237482d6b1b814b8dfeebf517f7fbfa
parentb97d86bb2d30a12b805e39dc15fdcc283d28a44a (diff)
drm/msm/dp: displayPort driver need algorithm rational
Let's select RATIONAL with dp driver. avoid like: [...] x86_64-linux-gnu-ld: drivers/gpu/drm/msm/dp/dp_catalog.o: in function `dp_catalog_ctrl_config_msa': dp_catalog.c:(.text+0x57e): undefined reference to `rational_best_approximation' Fixes: c943b4948b58 ("drm/msm/dp: add displayPort driver support") Reported-by: kernelbot <[email protected]> Signed-off-by: Jackie Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Rob Clark <[email protected]>
-rw-r--r--drivers/gpu/drm/msm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig
index 39197b4beea7..1eae5a9645f4 100644
--- a/drivers/gpu/drm/msm/Kconfig
+++ b/drivers/gpu/drm/msm/Kconfig
@@ -65,6 +65,7 @@ config DRM_MSM_HDMI_HDCP
config DRM_MSM_DP
bool "Enable DisplayPort support in MSM DRM driver"
depends on DRM_MSM
+ select RATIONAL
default y
help
Compile in support for DP driver in MSM DRM driver. DP external