drm/vkms: Extract vkms_config header
authorJosé Expósito <jose.exposito89@gmail.com>
Tue, 18 Feb 2025 10:12:04 +0000 (11:12 +0100)
committerMaxime Ripard <mripard@kernel.org>
Fri, 7 Mar 2025 09:58:21 +0000 (10:58 +0100)
commitd3ae1e394bdc267a1699f7ac2ff3d3a990e791b9
tree95d84f2c24e0b6bac55e2d2a239785aec8cf5bc7
parent5b5a56d9a2d64e8395dfbaddecb3e5149d7ecae8
drm/vkms: Extract vkms_config header

Creating a new vkms_config structure will be more complex once we
start adding more options.

Extract the vkms_config structure to its own header and source files
and add functions to create and delete a vkms_config and to initialize
debugfs.

Refactor, no functional changes.

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-5-jose.exposito89@gmail.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/vkms/Makefile
drivers/gpu/drm/vkms/tests/vkms_config_test.c
drivers/gpu/drm/vkms/vkms_config.c [new file with mode: 0644]
drivers/gpu/drm/vkms/vkms_config.h [new file with mode: 0644]
drivers/gpu/drm/vkms/vkms_drv.c
drivers/gpu/drm/vkms/vkms_drv.h
drivers/gpu/drm/vkms/vkms_output.c