virtio-gpu: mark as a render gpu
authorDave Airlie <airlied@redhat.com>
Tue, 16 Jun 2015 05:41:56 +0000 (15:41 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 16 Oct 2015 08:44:03 +0000 (10:44 +0200)
commitf3380a3015541f13c25c980011c046e7114dff3d
treee0e87caef28f106de3f4c0a0b9e503fb840b67a1
parent11a8f2805d4fd8a9c340b3f1b77990fd69b2dc0c
virtio-gpu: mark as a render gpu

Also add DRM_RENDER_ALLOW to the ioctls.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_drv.c
drivers/gpu/drm/virtio/virtgpu_ioctl.c