Re: [PATCH libdrm 3/3] amdgpu: rework and remove amdgpu_get_auth()

2017-08-21 Thread Daniel Vetter
On Mon, Aug 21, 2017 at 01:31:28PM +0100, Emil Velikov wrote: > Hi all, > > Can anyone skim through this patch? > > Thanks > Emil > > On 22 January 2017 at 18:48, Emil Velikov wrote: > > All one needs is to establish if dev->fd is the flink (primary/card) > > node,

Re: [PATCH libdrm 3/3] amdgpu: rework and remove amdgpu_get_auth()

2017-08-21 Thread Christian König
Am 21.08.2017 um 14:31 schrieb Emil Velikov: Hi all, Can anyone skim through this patch? Thanks Emil On 22 January 2017 at 18:48, Emil Velikov wrote: All one needs is to establish if dev->fd is the flink (primary/card) node, rather than use DRM_IOCTL_GET_CLIENT to

Re: [PATCH libdrm 3/3] amdgpu: rework and remove amdgpu_get_auth()

2017-08-21 Thread Emil Velikov
Hi all, Can anyone skim through this patch? Thanks Emil On 22 January 2017 at 18:48, Emil Velikov wrote: > All one needs is to establish if dev->fd is the flink (primary/card) > node, rather than use DRM_IOCTL_GET_CLIENT to query the auth status. > > The latter is

Re: [PATCH libdrm 3/3] amdgpu: rework and remove amdgpu_get_auth()

2017-03-06 Thread Emil Velikov
On 7 March 2017 at 00:45, Emil Velikov wrote: > I have another ~20 patch series that builds on top ;-) > Correction - those are xf86-video-amdgpu ones independent of this series. Pardon for the noise. Emil ___ dri-devel

Re: [PATCH libdrm 3/3] amdgpu: rework and remove amdgpu_get_auth()

2017-03-06 Thread Emil Velikov
On 22 January 2017 at 18:48, Emil Velikov wrote: > All one needs is to establish if dev->fd is the flink (primary/card) > node, rather than use DRM_IOCTL_GET_CLIENT to query the auth status. > > The latter is [somewhat] deprecated and incorrect. We need to know [and >

[PATCH libdrm 3/3] amdgpu: rework and remove amdgpu_get_auth()

2017-01-22 Thread Emil Velikov
All one needs is to establish if dev->fd is the flink (primary/card) node, rather than use DRM_IOCTL_GET_CLIENT to query the auth status. The latter is [somewhat] deprecated and incorrect. We need to know [and store] the primary node FD, since we're going to use it [at a later stage] for buffer