]> xenbits.xensource.com Git - qemu-xen-unstable.git/commitdiff
virtio-gpu-3d: Drop workaround for VIRTIO_GPU_CAPSET_VIRGL2 define
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Jun 2018 17:32:49 +0000 (18:32 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Jun 2018 14:04:17 +0000 (16:04 +0200)
In commit a8bff79e9f27df we added a definition to hw/virtio/virtio-gpu.h
for VIRTIO_GPU_CAPSET_VIRGL2, as a workaround for it not yet being
in the Linux kernel headers. In commit 77d361b13c19 we updated our
kernel headers to a version which does define the macro, so we can
now remove our workaround.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20180622173249.29963-1-peter.maydell@linaro.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/hw/virtio/virtio-gpu.h

index d6ba61f2f1263a5aaebad860eafb83f9b8d5af78..9780f755ef0abd49a42ee763d65d7fb831e3564a 100644 (file)
 
 #include "standard-headers/linux/virtio_gpu.h"
 
-/* Not yet(?) defined in standard-headers, remove when possible */
-#ifndef VIRTIO_GPU_CAPSET_VIRGL2
-#define VIRTIO_GPU_CAPSET_VIRGL2 2
-#endif
-
 #define TYPE_VIRTIO_GPU "virtio-gpu-device"
 #define VIRTIO_GPU(obj)                                        \
         OBJECT_CHECK(VirtIOGPU, (obj), TYPE_VIRTIO_GPU)