Re: [Intel-gfx] [PATCH 05/11] drm/i915: Mark getparam ioctl as DRM_UNLOCKED

2015-10-09 Thread Chris Wilson
On Tue, Sep 08, 2015 at 01:56:25PM +0200, Daniel Vetter wrote: > With kms all the data getparam looks at is actually invariant, and > certainly not protected by the global kms mutex. With ums all the > setup code is already racy as hell, so this won't make things any > worse. Correct. > I've

[Intel-gfx] [PATCH 05/11] drm/i915: Mark getparam ioctl as DRM_UNLOCKED

2015-09-08 Thread Daniel Vetter
With kms all the data getparam looks at is actually invariant, and certainly not protected by the global kms mutex. With ums all the setup code is already racy as hell, so this won't make things any worse. I've done this change so that all ioctl still used by kms drivers are marked as