[RFC] Adds support for ConfigFS to VKMS!

Louis Chauvet louis.chauvet at bootlin.com
Fri Aug 9 17:59:49 UTC 2024


Hi everyone,

I'm excited to share some good news! I've recently completed the addition 
of a ConfigFS interface to VKMS, which allows to configure VKMS from 
user-space, at runtime. You should be able to:
- Create new devices
- Create planes/crtc/encoders
- Configure rotation, color range, color encoding
- Link planes, crtc and encoders.

The entire series can be found on my GitHub repository:
https://github.com/Fomys/linux/tree/b4/new-configfs

This series is big, consisting of over 40 commits. Although it's not 
completely cleaned up, all commits compile successfully and (almost) pass 
checkpatch.

I plan to split this series into several smaller ones:

 - Adding support for additional color formats
	4a4f75873cca..d74006d7f9c4
 - Reintroducing the writeback algorithm
	9e74d259e1be..f839dcf6a7d8
 - Clarifying documentation
	b3bfd0ba2283..93945f0fbfc7
 - Properly splitting headers
	c70018038572..67258bd8a180
 - Switching to drmm_ helpers
	844e701e1d6d..f3050d125f64
 - Using a proper platform device driver
	4658f99dfe3e..a3258e4d7550
 - Introducing a vkms_config structure
	95ad6da46638..5b2d080b4626
 - Adding ConfigFS support
	866ad75102ae..f900ad18ab8c

What's currently missing:

 - A deep cleanup to ensure checkpatch compliance and proper
   functionality for every commit
 - Updating documentation
 - Reviews 

The primary area where I need assistance is reviews and testers. I'm aware 
that Maìra is very busy and can't review quickly, but any other 
individuals who can test and/or review this series would be greatly 
appreciated.

My next step is to add connector support, but as I will use this work and 
my previous series [1], I would like to see it merged first.

If any of the original authors would like to be credited for 
their contributions, please let me know. I rewrote most of the code, but 
the general idea was originally from them.

José, I am sorry, I think I missed your mail where you told me you already 
reviewed some commits: 

> I reviewed the first 9 patches and added a few comments on your
> GitHub fork.

I am not able to find any comments, can you send me the link to the page 
with them? I would like to read/apply them before submitting the first 
part of the series.

Thanks for your time,
Louis Chauvet

[1]: https://lore.kernel.org/all/20240809-yuv-v10-0-1a7c764166f7@bootlin.com/

-- 
Louis Chauvet, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the dri-devel mailing list