drm/display: Drop obsolete dependency on COMPILE_TEST
authorJean Delvare <jdelvare@suse.de>
Tue, 15 Oct 2024 11:46:06 +0000 (13:46 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 18 Oct 2024 10:06:55 +0000 (13:06 +0300)
commit2063ca42486bc07b49bc145b5dfcb421f4deebaf
treeebb066f56901666a076fc22ae40acfe701437714
parentdadd28d4142f9ad39eefb7b45ee7518bd4d2459c
drm/display: Drop obsolete dependency on COMPILE_TEST

Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it
is possible to test-build any driver which depends on OF on any
architecture by explicitly selecting OF. Therefore depending on
COMPILE_TEST as an alternative is no longer needed.

To avoid reintroducing the randconfig bug originally fixed by commit
876271118aa4 ("drm/display: Fix build error without CONFIG_OF"),
DRM_MSM which selects DRM_DISPLAY_DP_HELPER must explicitly depend
on OF. This is consistent with what all other DRM drivers are doing.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Acked-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241015134606.5b87093e@endymion.delvare
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/display/Kconfig
drivers/gpu/drm/msm/Kconfig