]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Allow prime fds in the surface reference ioctls
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 18 Mar 2014 14:00:56 +0000 (15:00 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 28 Mar 2014 13:19:03 +0000 (14:19 +0100)
commit6924dca485b8a0e3132a1648573b102d4238a6f7
tree09afc68d6963a27e8f2e2e38263e3cd8b6b2c25f
parent304e5e1556c56d3a438d18375798a98b782f299b
drm/vmwgfx: Allow prime fds in the surface reference ioctls

Allow prime fds and at the same time block legacy handles for render-nodes
in the surface reference ioctls. This means these ioctls can be used
directly from prime-aware clients, and that they can be called from
render-nodes.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
include/uapi/drm/vmwgfx_drm.h