diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2024-04-22 12:30:37 +0200 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2024-05-02 17:58:23 +0200 |
commit | 05b8b6dd225d541b16145a0578ed93d91e43f0c1 (patch) | |
tree | 28291a9a6040fafe9ed7fa38d16fa0428e2a6cb9 /drivers/gpu/drm/xlnx | |
parent | 1e0b9b4466081e24a34092024bb2b485ebae630a (diff) | |
download | linux-stable-05b8b6dd225d541b16145a0578ed93d91e43f0c1.tar.gz linux-stable-05b8b6dd225d541b16145a0578ed93d91e43f0c1.tar.bz2 linux-stable-05b8b6dd225d541b16145a0578ed93d91e43f0c1.zip |
Revert "drm: Switch DRM_DISPLAY_HELPER to depends on"
This reverts commit e075e496f516bf92bc0cbaf94d64e8d4a6b58321, as helper
code should always be selected by the driver that needs it, for the
convenience of the final user configuring a kernel.
The user who configures a kernel should not need to know which helpers
are needed for the driver he is interested in. Making a driver depend
on helper code means that the user needs to know which helpers to enable
first, which is very user-unfriendly.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1ba76cc4d96a8afefff5d1bc42fb1e1329c5da68.1713780345.git.geert+renesas@glider.be
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/xlnx')
-rw-r--r-- | drivers/gpu/drm/xlnx/Kconfig | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/xlnx/Kconfig b/drivers/gpu/drm/xlnx/Kconfig index 7a14a8c2e7be..68ee897de9d7 100644 --- a/drivers/gpu/drm/xlnx/Kconfig +++ b/drivers/gpu/drm/xlnx/Kconfig @@ -1,15 +1,13 @@ config DRM_ZYNQMP_DPSUB tristate "ZynqMP DisplayPort Controller Driver" depends on ARCH_ZYNQMP || COMPILE_TEST - depends on COMMON_CLK + depends on COMMON_CLK && DRM && OF depends on DMADEVICES - depends on DRM - depends on DRM_DISPLAY_HELPER - depends on OF depends on PHY_XILINX_ZYNQMP depends on XILINX_ZYNQMP_DPDMA select DMA_ENGINE select DRM_DISPLAY_DP_HELPER + select DRM_DISPLAY_HELPER select DRM_GEM_DMA_HELPER select DRM_KMS_HELPER select GENERIC_PHY |