]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: allow DRM_IOCTL_VERSION on render-nodes
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 28 Oct 2013 09:55:49 +0000 (10:55 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 30 Oct 2013 04:41:56 +0000 (14:41 +1000)
commit3d3b78c06c827bfc072a11056d7eb70aeb90e449
tree4c2c609ca9c3d6811ecd6b7dfa17fb3d634223c5
parent2f2632ff6e9d2b43dee6d13931c0f1894d2fed98
drm: allow DRM_IOCTL_VERSION on render-nodes

DRM_IOCTL_VERSION is a reliable way to get the driver-name and version
information. It's not related to the interface-version (SET_VERSION ioctl)
so we can safely enable it on render-nodes.

Note that gbm uses udev-BUSID to load the correct mesa driver. However,
the VERSION ioctl should be the more reliable way to do this (in case we
add new DRM-bus drivers which have no BUSID or similar).

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_drv.c