]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/core/object: pass client directly to ioctl handlers
authorBen Skeggs <bskeggs@redhat.com>
Wed, 25 May 2016 07:33:36 +0000 (17:33 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:57 +0000 (15:14 +1000)
commitf538bc7494cbd5b02180e33611163a439a84db50
tree586dfd0e3a9c59b94cdd2b52f4464b850df0eb11
parent147d2732a3f18eeb640f418693e7fad77e83d6d8
drm/nouveau/core/object: pass client directly to ioctl handlers

nvkm_object::client refers to the client that created the object, which,
is currently always the same as the ioctl caller.

Upcoming patches introduce the concept of subclients, where a parent is
able to access the object trees of its children, making the above no
longer true.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c