]> 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)
commit3c938ba963d67b98cdf277dd1620d4109ea09f18
tree09afc68d6963a27e8f2e2e38263e3cd8b6b2c25f
parent8f54259f7d7cefb106851043d6526504f5810762
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