public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [RFC] drm/tegra: fixup primary/overlay format for tegra210
@ 2026-03-23 13:07 Nicolas Chauvet
  2026-03-23 13:07 ` Nicolas Chauvet
  2026-03-24  7:05 ` Mikko Perttunen
  0 siblings, 2 replies; 6+ messages in thread
From: Nicolas Chauvet @ 2026-03-23 13:07 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter; +Cc: linux-tegra, Nicolas Chauvet

The primary_format and overlay_format were picked from earlier tegra114
generation instead of using the previous tegra124 format leading to
missing format.

This patch is RFC because while it's unlikely that format availability
have skipped to earlier tegra210 soc generation I haven't confirmed
any runtime error nor experienced any regression by the lack of
availability of theses format.

Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
---
 drivers/gpu/drm/tegra/dc.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c
index 06370b7e0e56..d5896f12f25f 100644
--- a/drivers/gpu/drm/tegra/dc.c
+++ b/drivers/gpu/drm/tegra/dc.c
@@ -2942,10 +2942,10 @@ static const struct tegra_dc_soc_info tegra210_dc_soc_info = {
 	.has_powergate = true,
 	.coupled_pm = false,
 	.has_nvdisplay = false,
-	.num_primary_formats = ARRAY_SIZE(tegra114_primary_formats),
-	.primary_formats = tegra114_primary_formats,
-	.num_overlay_formats = ARRAY_SIZE(tegra114_overlay_formats),
-	.overlay_formats = tegra114_overlay_formats,
+	.num_primary_formats = ARRAY_SIZE(tegra124_primary_formats),
+	.primary_formats = tegra124_primary_formats,
+	.num_overlay_formats = ARRAY_SIZE(tegra124_overlay_formats),
+	.overlay_formats = tegra124_overlay_formats,
 	.modifiers = tegra124_modifiers,
 	.has_win_a_without_filters = false,
 	.has_win_b_vfilter_mem_client = false,
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-25  0:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-23 13:07 [PATCH] [RFC] drm/tegra: fixup primary/overlay format for tegra210 Nicolas Chauvet
2026-03-23 13:07 ` Nicolas Chauvet
2026-03-24  7:05 ` Mikko Perttunen
2026-03-24 11:32   ` Nicolas Chauvet
2026-03-24 11:42   ` Thierry Reding
2026-03-25  0:50     ` Mikko Perttunen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox