]> Gentwo Git Trees - linux/.git/commit
drm/vkms: Add and remove VKMS instances via configfs
authorLouis Chauvet <louis.chauvet@bootlin.com>
Thu, 16 Oct 2025 17:56:04 +0000 (19:56 +0200)
committerLuca Ceresoli <luca.ceresoli@bootlin.com>
Wed, 22 Oct 2025 11:19:25 +0000 (13:19 +0200)
commit13fc9b9745cc5dbf38c4d559114cf98f8179b95f
tree435a178685148ddfc7290189d441347f6ec078e6
parent7965d1c5354a868063f61eb101f892480ede892f
drm/vkms: Add and remove VKMS instances via configfs

Allow to create, enable, disable and destroy VKMS instances using
configfs.

For the moment, it is not possible to add pipeline items, so trying to
enable the device will fail printing an informative error to the log.

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: Louis Chauvet <louis.chauvet@bootlin.com>
Co-developed-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Link: https://lore.kernel.org/r/20251016175618.10051-3-jose.exposito89@gmail.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Documentation/gpu/vkms.rst
drivers/gpu/drm/vkms/Kconfig
drivers/gpu/drm/vkms/Makefile
drivers/gpu/drm/vkms/vkms_configfs.c [new file with mode: 0644]
drivers/gpu/drm/vkms/vkms_configfs.h [new file with mode: 0644]
drivers/gpu/drm/vkms/vkms_drv.c