Date: Sat, 9 Nov 2019 08:00:32 +0300 From: Rozhuk Ivan <rozhuk.im@gmail.com> To: freebsd-hackers@freebsd.org, Hans Petter Selasky <hps@selasky.org>, Johannes Lundberg <johalun0@gmail.com>, Rozhuk Ivan <Rozhuk.IM@gmail.com> Subject: Linux PCI drivers in user space Message-ID: <20191109080032.231cd203@rimwks>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191109080032.231cd203>