]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vkms: Allow to attach planes and CRTCs
authorJosé Expósito <jose.exposito89@gmail.com>
Tue, 18 Feb 2025 10:12:10 +0000 (11:12 +0100)
committerMaxime Ripard <mripard@kernel.org>
Fri, 7 Mar 2025 09:58:26 +0000 (10:58 +0100)
commitc204bf652a5b9e03bbd420199a326f02c2e5cb65
treee20ca8a9e5a68d83a72b4175912abc369339feba
parent600df32dac40ad4b1069615a970063f0b15abfda
drm/vkms: Allow to attach planes and CRTCs

Add a list of possible CRTCs to the plane configuration and helpers to
attach, detach and get the primary and cursor planes attached to a CRTC.

Now that the default configuration has its planes and CRTC correctly
attached, configure the output following the configuration.

Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com>
Co-developed-by: Louis Chauvet <louis.chauvet@bootlin.com>
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-11-jose.exposito89@gmail.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
.clang-format
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_output.c