|
|
Subscribe / Log in / New account

VKMS: Introduce multiple configFS attributes

From:  Louis Chauvet <louis.chauvet-AT-bootlin.com>
To:  Haneen Mohammed <hamohammed.sa-AT-gmail.com>, Simona Vetter <simona-AT-ffwll.ch>, Melissa Wen <melissa.srw-AT-gmail.com>, Maarten Lankhorst <maarten.lankhorst-AT-linux.intel.com>, Maxime Ripard <mripard-AT-kernel.org>, Thomas Zimmermann <tzimmermann-AT-suse.de>, David Airlie <airlied-AT-gmail.com>, jose.exposito89-AT-gmail.com, Jonathan Corbet <corbet-AT-lwn.net>
Subject:  [PATCH 00/22] VKMS: Introduce multiple configFS attributes
Date:  Sat, 18 Oct 2025 04:01:00 +0200
Message-ID:  <20251018-vkms-all-config-v1-0-a7760755d92d@bootlin.com>
Cc:  victoria-AT-system76.com, sebastian.wick-AT-redhat.com, victoria-AT-system76.com, airlied-AT-gmail.com, thomas.petazzoni-AT-bootlin.com, dri-devel-AT-lists.freedesktop.org, linux-kernel-AT-vger.kernel.org, linux-doc-AT-vger.kernel.org, Louis Chauvet <louis.chauvet-AT-bootlin.com>
Archive-link:  Article

VKMS have a wide range of options. The aim of this series is to introduce
many configfs attribute so VKMS can be used to test a wide range of
configurations.

This series depends on [1] that should be applied soon.

PATCH 1-13 are for configuring planes
- name
- rotation
- color encoding
- color range
- plane formats
- zpos
PATCH 14-19 are for configuring the connector
- type
- supported colorspace
- edid
PATCH 20-22 are to enable dynamic connectors

[1]:https://lore.kernel.org/all/20251016175618.10051-1-jose.e...

PS: Each pair of config/configfs patch are independant. I could
technically create ≈10 different series, but there will be a lot of
(trivial) conflicts between them. I will be happy to reordoer, split and
partially apply this series to help the review process.

Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
---
Louis Chauvet (22):
      drm/vkms: Introduce config for plane name
      drm/vkms: Introduce configfs for plane name
      drm/vkms: Introduce config for plane rotation
      drm/vkms: Introduce configfs for plane rotation
      drm/vkms: Introduce config for plane color encoding
      drm/vkms: Introduce configfs for plane color encoding
      drm/vkms: Introduce config for plane color range
      drm/vkms: Introduce configfs for plane color range
      drm/vkms: Introduce config for plane format
      drm/vkms: Introduce configfs for plane format
      drm/vkms: Properly render plane using their zpos
      drm/vkms: Introduce config for plane zpos property
      drm/vkms: Introduce configfs for plane zpos property
      drm/vkms: Introduce config for connector type
      drm/vkms: Introduce configfs for connector type
      drm/vkms: Introduce config for connector supported colorspace
      drm/vkms: Introduce configfs for connector supported colorspace
      drm/vkms: Introduce config for connector EDID
      drm/vkms: Introduce configfs for connector EDID
      drm/vkms: Store the enabled/disabled status for connector
      drm/vkms: Allow to hot-add connectors
      drm/vkms: Allows the creation of connector at runtime

 Documentation/gpu/vkms.rst                    |  42 +-
 drivers/gpu/drm/vkms/tests/vkms_config_test.c |  18 +
 drivers/gpu/drm/vkms/vkms_config.c            | 183 ++++++
 drivers/gpu/drm/vkms/vkms_config.h            | 524 +++++++++++++++
 drivers/gpu/drm/vkms/vkms_configfs.c          | 893 +++++++++++++++++++++++++-
 drivers/gpu/drm/vkms/vkms_connector.c         | 137 +++-
 drivers/gpu/drm/vkms/vkms_connector.h         |  36 +-
 drivers/gpu/drm/vkms/vkms_crtc.c              |  11 +-
 drivers/gpu/drm/vkms/vkms_drv.h               |   6 +-
 drivers/gpu/drm/vkms/vkms_output.c            |  19 +-
 drivers/gpu/drm/vkms/vkms_plane.c             |  73 +--
 11 files changed, 1865 insertions(+), 77 deletions(-)
---
base-commit: b291e4f1a4951204ce858cd01801291d34962a33
change-id: 20251017-vkms-all-config-bd0c2a01846f
prerequisite-message-id: 20251016175618.10051-1-jose.exposito89@gmail.com
prerequisite-patch-id: 74083a8806b1f26d9b4cd2a5107c756b971c4d11
prerequisite-patch-id: f982390487699921b625b413e8460d67ca7a74c9
prerequisite-patch-id: 0afca639e43c8fbfea2af1bc395e489efc8e1f10
prerequisite-patch-id: 6285108b2fd90d30d15d4cb4fdddfef953fad51b
prerequisite-patch-id: 2eacf5ad4f25f54a60958aa7a2df633d5642ce2f
prerequisite-patch-id: 81e98ac3aeb3b6128098ab7bab56d3446a3a2705
prerequisite-patch-id: 973f94c4edb4a5822c84a57d4479ca40e9cf25de
prerequisite-patch-id: 0efbaf1b0e962a1c40bf5a744b5089d8be696f62
prerequisite-patch-id: afa0cff94085e6ab216ffd9b99cd3dc882a0a687
prerequisite-patch-id: 3561347f2b586392985a8e3af9ed1c5c7d3eefd5
prerequisite-patch-id: 94030044ae8d404f7cdaed9137bddd59cfb22e79
prerequisite-patch-id: a54b483797d5ffb7ce13b56a8943025181cd0d7a
prerequisite-patch-id: f148fe7f445cb42437e7e2ba8b59e7e0fd40da8b
prerequisite-patch-id: 1ef2045872843670c452816c5d6187b713c9258c
prerequisite-patch-id: 3b9963ea3ae3455ae15ee36b67042c06a2ef6006
prerequisite-patch-id: 519ee42dfabb4de734e41e59bd07d7a723d810bb

Best regards,
-- 
Louis Chauvet <louis.chauvet@bootlin.com>




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds