diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-28 21:42:40 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-10-16 15:50:54 +0200 |
commit | ea487835e8876abf7ad909636e308c801a2bcda6 (patch) | |
tree | ead40458ef2c4f333228113e38d7facb01475a50 /drivers/gpu/drm/qxl | |
parent | 1c806a6e76795b72b09e2bf967d23b4ed791d0a2 (diff) | |
download | talos-obmc-linux-ea487835e8876abf7ad909636e308c801a2bcda6.tar.gz talos-obmc-linux-ea487835e8876abf7ad909636e308c801a2bcda6.zip |
drm: Enforce unlocked ioctl operation for kms driver ioctls
With the prep patches for i915 all kms drivers either have
DRM_UNLOCKED on all their ioctls. Or the ioctl always directly returns
with an invariant return value when in modeset mode. But that's only
the case for i915 and radeon. The drm core ioctls are unfortunately
too much a mess still to dare this.
Follow-up patches will remove DRM_UNLOCKED from all kms drivers to
prove that this is indeed the case.
Also update the documentation.
v2: Really only do this for driver ioctls, spotted by David Herrmann.
And drop spurious whitespace change.
Cc: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/qxl')
0 files changed, 0 insertions, 0 deletions