[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251030094742.1081960-1-manikandan.m@microchip.com>
Date: Thu, 30 Oct 2025 15:17:42 +0530
From: Manikandan Muralidharan <manikandan.m@...rochip.com>
To: <megi@....cz>, <javierm@...hat.com>, <neil.armstrong@...aro.org>,
	<jesszhan0024@...il.com>, <maarten.lankhorst@...ux.intel.com>,
	<mripard@...nel.org>, <tzimmermann@...e.de>, <airlied@...il.com>,
	<simona@...ll.ch>, <dri-devel@...ts.freedesktop.org>,
	<linux-kernel@...r.kernel.org>
CC: <manikandan.m@...rochip.com>
Subject: [PATCH] drm/panel: himax-hx8394: Populate connector bus formats
Add a call to drm_display_info_set_bus_formats() in hx8394_get_modes()
to populate the connector's bus_formats field with the panel's bus
format.This ensures display bus format information is available to other
components that may need it later such as to identify and match the input
bus format correctly based on the panel description.
Signed-off-by: Manikandan Muralidharan <manikandan.m@...rochip.com>
---
 drivers/gpu/drm/panel/panel-himax-hx8394.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-himax-hx8394.c b/drivers/gpu/drm/panel/panel-himax-hx8394.c
index c4d3e09a228d..cdd72235fde6 100644
--- a/drivers/gpu/drm/panel/panel-himax-hx8394.c
+++ b/drivers/gpu/drm/panel/panel-himax-hx8394.c
@@ -725,6 +725,8 @@ static int hx8394_get_modes(struct drm_panel *panel,
 	mode->type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED;
 	connector->display_info.width_mm = mode->width_mm;
 	connector->display_info.height_mm = mode->height_mm;
+	drm_display_info_set_bus_formats(&connector->display_info,
+					 &ctx->desc->format, 1);
 	drm_mode_probed_add(connector, mode);
 
 	return 1;
base-commit: bdaf9fa04946b9d1086d69b7269c113ace8e9f76
-- 
2.25.1
Powered by blists - more mailing lists
 
