[Intel-gfx] [PATCH 08/11] drm: Enforce unlocked ioctl operation for kms driver ioctls

Gustavo Padovan gustavo at padovan.org
Tue Sep 8 11:45:49 PDT 2015


Hi Daniel,

2015-09-08 Daniel Vetter <daniel.vetter at ffwll.ch>:

> 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.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> ---
>  Documentation/DocBook/drm.tmpl | 4 +++-
>  drivers/gpu/drm/drm_ioctl.c    | 6 +++++-
>  2 files changed, 8 insertions(+), 2 deletions(-)

Reviewed-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>

	Gustavo


More information about the dri-devel mailing list