On Tue, Jul 26, 2022 at 11:51:31PM +0000, Bill Chatfield wrote: > Thank you so much. That is just the kind of information I needed to > get me started. Yeah, it would be a fun project just for my own > personal interest and education. I can understand you wouldn't want > to make the kernel bigger for basically a one-off piece of old > hardware. :-) If I can do this or something similar, maybe it'll > teach me how to implement something that would be more useful to the > whole community.
Back in 2015 I mentored a Google Summer of Code student on a similar project for the Cirrus graphics cards (interesting because available in qemu). The code was almost finished but somehow he lost interest after the initial GSoC period and for various reasons thw work never got merged. It's still on-line : https://lab.knightsofnii.com/kristaba/openbsd (check the cirrusdrm-current branch) He also started some documentation on the internals there : http://lab.knightsofnii.com/kristaba/openbsd-drm-howto.git *warning* : all this is 7 years old so a lot have changed in the Linux DRM code since then and merging this code in -current is probably more work than starting over. -- Matthieu Herrb