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)
commita664869ac4c77875ca84a38f614bc1c7b3c79812
tree586dfd0e3a9c59b94cdd2b52f4464b850df0eb11
parent83e85d91b2bc38d4067baf05a7fe9e47436e1d8c
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