Re: [PATCH v2 1/2] drm/vmwgfx: add local DRM_AUTH check for PRIME TO/FROM HANDLE

2019-08-06 Thread Emil Velikov
On Mon, 5 Aug 2019 at 16:37, Deepak Singh Rawat wrote: > > Hi Emil, > > Thanks for doing this. Looks good to me. By the way I think Thomas had > a patch to get rid of legacy locking mechanism. I don't know when it > will go upstream. With that we no need for the below check. > Agreed the patches

Re: [PATCH v2 1/2] drm/vmwgfx: add local DRM_AUTH check for PRIME TO/FROM HANDLE

2019-08-05 Thread Deepak Singh Rawat
Hi Emil, Thanks for doing this. Looks good to me. By the way I think Thomas had a patch to get rid of legacy locking mechanism. I don't know when it will go upstream. With that we no need for the below check. Reviewed-by: Deepak Rawat On Fri, 2019-08-02 at 18:01 +0100, Emil Velikov wrote: >

[PATCH v2 1/2] drm/vmwgfx: add local DRM_AUTH check for PRIME TO/FROM HANDLE

2019-08-02 Thread Emil Velikov
From: Emil Velikov Realistically no drivers, but vmwgfx care about the DRM_AUTH flag here. Follow-up work in this driver will properly isolate primary clients from different master realms, thus we'll no longer need to parse _any_ ioctl flags. Until that work lands, add a local workaround. v2: