]> Gentwo Git Trees - linux/.git/commit
drm/vkms: Allow to configure connector status via configfs
authorJosé Expósito <jose.exposito89@gmail.com>
Thu, 16 Oct 2025 17:56:18 +0000 (19:56 +0200)
committerLuca Ceresoli <luca.ceresoli@bootlin.com>
Wed, 22 Oct 2025 11:19:26 +0000 (13:19 +0200)
commitf97180f094aed00bae9776f00ae61c7c020b4d79
treea8c12d57d9cd4ae2454afbc68c77607e3cde360a
parent466f43885ac0b75efe8107d82f7c60d7daf64f54
drm/vkms: Allow to configure connector status via configfs

When a connector is created, add a `status` file to allow to update the
connector status to:

 - 1 connector_status_connected
 - 2 connector_status_disconnected
 - 3 connector_status_unknown

If the device is enabled, updating the status hot-plug or unplugs the
connector.

Tested-by: Mark Yacoub <markyacoub@google.com>
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Link: https://lore.kernel.org/r/20251016175618.10051-17-jose.exposito89@gmail.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Documentation/gpu/vkms.rst
drivers/gpu/drm/vkms/vkms_configfs.c
drivers/gpu/drm/vkms/vkms_connector.c
drivers/gpu/drm/vkms/vkms_connector.h