drm/prime: expose capability flags for userspace.
authorDave Airlie <airlied@redhat.com>
Mon, 2 Apr 2012 13:11:50 +0000 (14:11 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 18 May 2012 10:12:16 +0000 (11:12 +0100)
commit4271a4090068f9dec3784205391c59540130b132
tree39cf41a082b95eb33a0d352120fec4a49fcc8bbd
parentcfcbd6d3de7f75f7c5a07d3fac8e1949bbbc79e0
drm/prime: expose capability flags for userspace.

This lets the kernel tell userspace if the device supports prime
import/export.

This is useful for -modesetting at least, but would be nice for other
drivers.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_ioctl.c
include/drm/drm.h