diff options
author | Dave Airlie <airlied@redhat.com> | 2018-02-21 11:50:03 +1000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-02-27 08:37:58 +0100 |
commit | 9a191b114906457c4b2494c474f58ae4142d4e67 (patch) | |
tree | ba6c1d34121ca8189a479c02e9a1fb2553d5e97c /include | |
parent | 79d103a565d16b1893d990b2ee5e0fe71767759f (diff) | |
download | linux-9a191b114906457c4b2494c474f58ae4142d4e67.tar.bz2 |
virtio-gpu: fix ioctl and expose the fixed status to userspace.
This exposes to mesa that it can use the fixed ioctl for querying
later cap sets, cap set 1 is forever frozen in time.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20180221015003.22884-1-airlied@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/drm/virtgpu_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/virtgpu_drm.h b/include/uapi/drm/virtgpu_drm.h index 91a31ffed828..9a781f0611df 100644 --- a/include/uapi/drm/virtgpu_drm.h +++ b/include/uapi/drm/virtgpu_drm.h @@ -63,6 +63,7 @@ struct drm_virtgpu_execbuffer { }; #define VIRTGPU_PARAM_3D_FEATURES 1 /* do we have 3D features in the hw */ +#define VIRTGPU_PARAM_CAPSET_QUERY_FIX 2 /* do we have the capset fix */ struct drm_virtgpu_getparam { __u64 param; |