[PATCH 3/5] update virtio gpu driver: add 3d/virgl support

2015-09-10 Thread Dave Airlie
> > --- /dev/null > > +++ b/include/uapi/drm/virtgpu_drm.h > > @@ -0,0 +1,163 @@ > > > + > > +struct drm_virtgpu_3d_box { > > + uint32_t x, y, z; > > + uint32_t w, h, d; > > +}; > > + > There was a similar case (multiple variables declared on a single > line) in drm core that caused con

[PATCH 3/5] update virtio gpu driver: add 3d/virgl support

2015-09-10 Thread Gerd Hoffmann
Hi, > Just a FYI - Daniel Vetter has a series in flight which deprecates > DRM_UNLOCKED for KMS drivers. Thanks for the heads up. > > > --- /dev/null > > +++ b/include/uapi/drm/virtgpu_drm.h > > @@ -0,0 +1,163 @@ > > > + > > +struct drm_virtgpu_3d_box { > > + uint32_t x, y, z; > > +

[PATCH 3/5] update virtio gpu driver: add 3d/virgl support

2015-09-10 Thread Emil Velikov
On 10 September 2015 at 11:32, Dave Airlie wrote: >> > --- /dev/null >> > +++ b/include/uapi/drm/virtgpu_drm.h >> > @@ -0,0 +1,163 @@ >> >> > + >> > +struct drm_virtgpu_3d_box { >> > + uint32_t x, y, z; >> > + uint32_t w, h, d; >> > +}; >> > + >> There was a similar case (multiple vari

[PATCH 3/5] update virtio gpu driver: add 3d/virgl support

2015-09-10 Thread Emil Velikov
Hello Gert, On 9 September 2015 at 12:42, Gerd Hoffmann wrote: > Add the bits needed for opengl rendering support: query > capabilities, new virtio commands, drm ioctls. > > Signed-off-by: Dave Airlie > Signed-off-by: Gerd Hoffmann > --- > + > +struct drm_ioctl_desc virtio_gpu_ioctls[DRM_VIRTI

[PATCH 3/5] update virtio gpu driver: add 3d/virgl support

2015-09-09 Thread Gerd Hoffmann
Add the bits needed for opengl rendering support: query capabilities, new virtio commands, drm ioctls. Signed-off-by: Dave Airlie Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/Makefile| 3 +- drivers/gpu/drm/virtio/virtgpu_drv.c | 10 + drivers/gpu/drm/virtio/virtgpu_drv.