Re: [Qemu-devel] [PATCH v6 08/11] contrib: add vhost-user-gpu

2019-04-26 Thread Marc-André Lureau
Hi On Fri, Apr 26, 2019 at 10:03 AM Gerd Hoffmann wrote: > > Hi, > > > +#ifdef CONFIG_LIBDRM_INTEL > > +static bool > > +intel_alloc_bo(struct drm_buffer *buf) > > +{ > > +uint32_t tiling = I915_TILING_NONE; > > + > > +buf->intel_bo = drm_intel_bo_alloc_tiled(buf->dev->bufmgr, > > "vho

Re: [Qemu-devel] [PATCH v6 08/11] contrib: add vhost-user-gpu

2019-04-26 Thread Gerd Hoffmann
Hi, > +#ifdef CONFIG_LIBDRM_INTEL > +static bool > +intel_alloc_bo(struct drm_buffer *buf) > +{ > +uint32_t tiling = I915_TILING_NONE; > + > +buf->intel_bo = drm_intel_bo_alloc_tiled(buf->dev->bufmgr, > "vhost-user-gpu", > + buf->width, buf->h

[Qemu-devel] [PATCH v6 08/11] contrib: add vhost-user-gpu

2019-04-23 Thread Marc-André Lureau
Add a vhost-user gpu backend, based on virtio-gpu/3d device. It is to be associated with a vhost-user-gpu device. Various TODO and nice to have items: - multi-head support - crash & resume handling - accelerated rendering/display that avoids the waiting round trips - more drm devices support for 2