News for hackers. Stuff that matters.
Re:Writing to the Framebuffer (2018) by rowanG077 on Wednesday June 03, 2020 @02:32PM (#23406966)
How can I write a simple device driver using dumb buffers? I have searched far and wide but I can't find anything. I'm forced to write a framebuffer driver. Once you dip into DRI shit get's insanely complex quick.
Re:Writing to the Framebuffer (2018) by Jasper_ on Thursday June 04, 2020 @01:39AM (#23412936)
For the simplest case, where you have contiguous memory for your framebuffer storage and no MMIO, try the CMA helpers: https://github.com/torvalds/linux/blob/master/drivers/gpu/dr...

I wrote a basic device driver for a platform I worked on. It's since been upstreamed and gotten more eyeballs, but it's still relatively simple. https://github.com/torvalds/linux/blob/master/drivers/gpu/dr...