Click here to Skip to main content
15,796,456 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everybody, I would like to program a driver that creates a fbdev device but internally use the drm driver (something like a fbdev to drm bridge). The target is to use mplayer -vo fbdev, but present custom fbdev that use the drm functions, because I need to do some stuff on the video playback when vblank happend (and that functionality is not available in fbdev). I was looking for a related projects but couldn't find nothing, I look for documentation but is crazy huge and not concise in this topic.

The first part of my question is: Is possible to open a drm device from kernel space?

And in case of being affirmative: Can anyone recommend a good starting point for this job? Project from github or documentation page (please, not or

What I have tried:

I was playing with the drm driver from userspace and it is easy and well documented, but, when you want to open the drm device from the kernel (like from your kernel module) space is another thing.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900