]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
virtio-gpu: fix ioctl and expose the fixed status to userspace.
authorDave Airlie <airlied@redhat.com>
Wed, 21 Feb 2018 01:50:03 +0000 (11:50 +1000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 27 Aug 2018 14:40:05 +0000 (16:40 +0200)
commit2448cf55ea613f147d9977c20d04f212373eefa3
tree2f68798105f17ab30cdac92d43e182f37dc50aa2
parentb48998975baa258fafd98241cfda1e8b7bacdbd2
virtio-gpu: fix ioctl and expose the fixed status to userspace.

BugLink: http://bugs.launchpad.net/bugs/1786352
[ Upstream commit 9a191b114906457c4b2494c474f58ae4142d4e67 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/gpu/drm/virtio/virtgpu_ioctl.c
include/uapi/drm/virtgpu_drm.h