* [PATCH v2] drm/xlnx/zynqmp-dpsub: Fix dependencies for COMPILE_TEST
@ 2026-05-05 9:47 Chen-Yu Tsai
2026-05-06 8:02 ` Tomi Valkeinen
0 siblings, 1 reply; 2+ messages in thread
From: Chen-Yu Tsai @ 2026-05-05 9:47 UTC (permalink / raw)
To: Laurent Pinchart, Tomi Valkeinen, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann
Cc: Chen-Yu Tsai, dri-devel, linux-kernel, Ville Syrjälä
The zynqmp-dpsub driver does not have build time dependencies on the PHY
or DMA drivers. These are runtime hardware restrictions.
Make the two dependencies optional if COMPILE_TEST.
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
---
Changes since v1:
- Keep each dependency on a separate line
IMO the two driver dependencies could be removed altogether, but that
would be up to the driver and platform maintainers.
---
drivers/gpu/drm/xlnx/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xlnx/Kconfig b/drivers/gpu/drm/xlnx/Kconfig
index cfabf5e2a0bb..58c19e5a7e8f 100644
--- a/drivers/gpu/drm/xlnx/Kconfig
+++ b/drivers/gpu/drm/xlnx/Kconfig
@@ -3,8 +3,8 @@ config DRM_ZYNQMP_DPSUB
depends on ARCH_ZYNQMP || COMPILE_TEST
depends on COMMON_CLK && DRM && OF
depends on DMADEVICES
- depends on PHY_XILINX_ZYNQMP
- depends on XILINX_ZYNQMP_DPDMA
+ depends on PHY_XILINX_ZYNQMP || COMPILE_TEST
+ depends on XILINX_ZYNQMP_DPDMA || COMPILE_TEST
select DMA_ENGINE
select DRM_CLIENT_SELECTION
select DRM_DISPLAY_DP_HELPER
--
2.54.0.545.g6539524ca2-goog
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] drm/xlnx/zynqmp-dpsub: Fix dependencies for COMPILE_TEST
2026-05-05 9:47 [PATCH v2] drm/xlnx/zynqmp-dpsub: Fix dependencies for COMPILE_TEST Chen-Yu Tsai
@ 2026-05-06 8:02 ` Tomi Valkeinen
0 siblings, 0 replies; 2+ messages in thread
From: Tomi Valkeinen @ 2026-05-06 8:02 UTC (permalink / raw)
To: Chen-Yu Tsai
Cc: dri-devel, linux-kernel, Ville Syrjälä,
Laurent Pinchart, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann
Hi,
On 05/05/2026 12:47, Chen-Yu Tsai wrote:
> The zynqmp-dpsub driver does not have build time dependencies on the PHY
> or DMA drivers. These are runtime hardware restrictions.
>
> Make the two dependencies optional if COMPILE_TEST.
>
> Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
> ---
> Changes since v1:
> - Keep each dependency on a separate line
>
> IMO the two driver dependencies could be removed altogether, but that
> would be up to the driver and platform maintainers.
> ---
> drivers/gpu/drm/xlnx/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/xlnx/Kconfig b/drivers/gpu/drm/xlnx/Kconfig
> index cfabf5e2a0bb..58c19e5a7e8f 100644
> --- a/drivers/gpu/drm/xlnx/Kconfig
> +++ b/drivers/gpu/drm/xlnx/Kconfig
> @@ -3,8 +3,8 @@ config DRM_ZYNQMP_DPSUB
> depends on ARCH_ZYNQMP || COMPILE_TEST
> depends on COMMON_CLK && DRM && OF
> depends on DMADEVICES
> - depends on PHY_XILINX_ZYNQMP
> - depends on XILINX_ZYNQMP_DPDMA
> + depends on PHY_XILINX_ZYNQMP || COMPILE_TEST
> + depends on XILINX_ZYNQMP_DPDMA || COMPILE_TEST
> select DMA_ENGINE
> select DRM_CLIENT_SELECTION
> select DRM_DISPLAY_DP_HELPER
Thanks, pushed to drm-misc.
Tomi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-06 8:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-05 9:47 [PATCH v2] drm/xlnx/zynqmp-dpsub: Fix dependencies for COMPILE_TEST Chen-Yu Tsai
2026-05-06 8:02 ` Tomi Valkeinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®