Thread (83 messages) 83 messages, 3 authors, 2025-12-19

Re: [PATCH RESEND v2 28/32] drm/vkms: Store the enabled/disabled status for connector

From: "Luca Ceresoli" <luca.ceresoli@bootlin.com>
Date: 2025-12-19 18:57:46
Also in: dri-devel, lkml

On Wed Oct 29, 2025 at 3:37 PM CET, Louis Chauvet wrote:
In order to prepare for dynamic connector configuration, we need to store
if a connector is dynamic and if it is enabled.

The two new vkms_config_connector fields will helps for that.

Co-developed-by: José Expósito <redacted>
Signed-off-by: José Expósito <redacted>
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
quoted hunk ↗ jump to hunk
--- a/drivers/gpu/drm/vkms/vkms_config.h
+++ b/drivers/gpu/drm/vkms/vkms_config.h
@@ -130,6 +130,8 @@ struct vkms_config_encoder {
  * @link: Link to the others connector in vkms_config
  * @type: Store the type of connector using DRM_MODE_CONNECTOR_* values
  * @config: The vkms_config this connector belongs to
+ * @dynamic: Store if a connector should be created with drm_connector_dynamic_init
+ * @enabled: If @dynamic, this means that the correct is currently registered in drm
                                                 ^^^^^^^
						 "connector", I guess.

With that fixed:

 Reviewed-by: Luca Ceresoli [off-list ref]

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help