From bd7511b3e882045a5bcddc5d55d483473bb3a341 Mon Sep 17 00:00:00 2001 From: Thomas Makin Date: Mon, 24 Aug 2026 18:35:36 -0500 Subject: [PATCH] drm/tegra: dsi: detect possible_crtcs Other platforms allow dsi across multiple heads, but some have one or more heads disabled. This results in a mismatch between possible_crtcs and the real crtc mask. Apply the same `tegra_output_find_possible_crtcs` function to DSI to properly detect. --- drivers/gpu/drm/tegra/dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu/drm/tegra/dsi.c index a3c55e9965de..5711ad63d84a 100644 --- a/drivers/gpu/drm/tegra/dsi.c +++ b/drivers/gpu/drm/tegra/dsi.c @@ -1088,7 +1088,7 @@ static int tegra_dsi_init(struct host1x_client *client) dev_err(dsi->dev, "failed to initialize output: %d\n", err); - dsi->output.encoder.possible_crtcs = 0x3; + tegra_output_find_possible_crtcs(&dsi->output, drm); } return 0;