]> Gentwo Git Trees - linux/.git/commit
drm/vkms: Add config for default plane pipeline
authorLouis Chauvet <louis.chauvet@bootlin.com>
Sat, 15 Nov 2025 00:01:41 +0000 (17:01 -0700)
committerSimon Ser <contact@emersion.fr>
Wed, 26 Nov 2025 22:03:33 +0000 (23:03 +0100)
commit9b5c7e8b452398ee29dd42b21df73fa71dfc648e
tree8613b00c098fedc397ba5f326e196a57d83e8dec
parentc1e578bd08da79f3bd877faa82e9197ccd3ecd57
drm/vkms: Add config for default plane pipeline

With the introduction of color pipeline in VKMS, the default device may
have planes with color pipelines. To avoid breaking existing uAPI,
create a kernel argument to disable them by default and a vkms_config
field to configure the plane.

This field is not definitive and will be replaced once the uAPI will be
able to configure color pipelines. For now devices created with ConfigFS
will not have any color pipeline so we can decide later how the uAPI
will look like.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Signed-off-by: Simon Ser <contact@emersion.fr>
Link: https://patch.msgid.link/20251115000237.3561250-17-alex.hung@amd.com
drivers/gpu/drm/vkms/tests/vkms_config_test.c
drivers/gpu/drm/vkms/vkms_config.c
drivers/gpu/drm/vkms/vkms_config.h
drivers/gpu/drm/vkms/vkms_drv.c
drivers/gpu/drm/vkms/vkms_plane.c