summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/virtio/virtgpu_ttm.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-10-28 12:48:00 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-10-16 10:44:02 +0200
commit62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 (patch)
tree1998adc2960bd46f3a8ce8adb0be17ba13fca722 /drivers/gpu/drm/virtio/virtgpu_ttm.c
parent7552ed8a1a810552e16664d7020d61d2b01b9199 (diff)
downloadblackbird-op-linux-62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257.tar.gz
blackbird-op-linux-62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257.zip
virtio-gpu: add 3d/virgl support
Add the bits needed for opengl rendering support: query capabilities, new virtio commands, drm ioctls. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_ttm.c')
-rw-r--r--drivers/gpu/drm/virtio/virtgpu_ttm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_ttm.c b/drivers/gpu/drm/virtio/virtgpu_ttm.c
index b092d7b9a292..9fd924cd2b7f 100644
--- a/drivers/gpu/drm/virtio/virtgpu_ttm.c
+++ b/drivers/gpu/drm/virtio/virtgpu_ttm.c
@@ -32,6 +32,7 @@
#include <ttm/ttm_module.h>
#include <drm/drmP.h>
#include <drm/drm.h>
+#include <drm/virtgpu_drm.h>
#include "virtgpu_drv.h"
#include <linux/delay.h>
OpenPOWER on IntegriCloud