Linux PCI drivers in user space
Rozhuk Ivan
rozhuk.im at gmail.com
Sat Nov 9 05:00:44 UTC 2019
Hi!
Im frustrating with amdgpu on 12.1...
Current status DRM with linuxkpi - it hard to use and hard to support.
FreeBSD stable have no fresh drivers, FreeBSD current - unstable.
But we have webcamd:
+ almost all time fresh drivers from linux
+ easy to pull drivers from linux
+ easy to debug
+ on crash - system continue work
+ more secure - driver limited to process memory
- probably a bit slower
If add some kernel module that will export all pci devices and
allow to mmap() pci device memory to user space and somehow proxy
IRQ (like events to poll()/kqueue()), IO ports and registers then
webcamd will can work with this like it now works with USB devices,
and fbsd users can use latest DRM and some other drivers.
Also adding sysctl settings to webcamd devices will be very useful.
Porting and updating drivers in user space webcamd easy then do same
in kernel.
Also all latest drivers will work on all actual FreeBSD versions.
More information about the freebsd-hackers
mailing list