[PATCH] drm/virtio: Allow userspace to mmap() framebuffer

Joshua Watt jpewhacker at gmail.com
Fri Mar 1 14:22:19 UTC 2019


On Fri, 2019-03-01 at 06:51 +0100, Gerd Hoffmann wrote:
> On Thu, Feb 28, 2019 at 10:47:41AM -0600, Joshua Watt wrote:
> > Reports the size of the virtgpu framebuffer to userspace and
> > installs
> > the deferred I/O handlers so that userspace can mmap() and write to
> > it.
> 
> Fixed already, as side effect of switching virtio to the generic
> fbdev
> emulation.  Patches are in the drm-misc-next branch and should land
> upstream in the 5.1 merge window.

Excellent. I gave it a try and that did what I needed. Thanks!

> 
> cheers,
>   Gerd
> 
-- 
Joshua Watt <JPEWhacker at gmail.com>



More information about the dri-devel mailing list