]> 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)
commit85a5558ca25eba7500ad1e9a6aa837a4ad1389b0
tree586dfd0e3a9c59b94cdd2b52f4464b850df0eb11
parent8258407c992c70aa6dfb8fcf048e335aac414c34
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