drm: Allow also control clients to check the drm version
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 15 Sep 2015 08:11:42 +0000 (01:11 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 24 Sep 2015 07:24:24 +0000 (00:24 -0700)
commit30c64664f110f76064e364cb5dd385edc3751ba5
treefc522bfc2fb57120a407e01c23dd76ef6026e1f0
parentf3b8c0caca02001565cb14b845bf90f59dea8213
drm: Allow also control clients to check the drm version

This should be harmless.
Vmware will, due to old infrastructure reasons, be using a privileged
control client to supply GUI layout information rather than obtaining
it from the device. That control client will be needing access to DRM
version information.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Acked-by: David Herrmann <dh.herrmann@gmail.com>
drivers/gpu/drm/drm_ioctl.c