[PATCH v2] drm: reduce GETCLIENT to a minimum

2016-08-25 Thread Daniel Vetter
On Thu, Aug 25, 2016 at 04:35:05PM +0200, David Herrmann wrote: > The *only* known user of GETCLIENT is libva, which uses it to check > whether its own context is authenticated. It used to iterate all clients, > look for one that matches its own pid and then check its state. > > The entire purpose

[PATCH v2] drm: reduce GETCLIENT to a minimum

2016-08-25 Thread David Herrmann
The *only* known user of GETCLIENT is libva, which uses it to check whether its own context is authenticated. It used to iterate all clients, look for one that matches its own pid and then check its state. The entire purpose for us to still have a GETCLIENT implementation is to serve libva. So let