OpenCloudOS-Kernel/drivers/gpu/drm/nouveau/nvif
Ben Skeggs 04b8867758 drm/nouveau/core/client: allow creation of subclients
We want a supervisor client of NVKM (such as the DRM) to be able to
allow sharing of resources (such as memory objects) between clients.

To allow this, the supervisor creates all its clients as children of
itself, and will use an upcoming ioctl to permit sharing.

Currently it's not possible for indirect clients to use subclients.
Supporting this will require an additional field in the main ioctl.
This isn't important currently, but will need to be fixed for virt.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-02-17 15:15:00 +10:00
..
Kbuild drm/nouveau/core/client: allow creation of subclients 2017-02-17 15:15:00 +10:00
client.c drm/nouveau/core/client: allow creation of subclients 2017-02-17 15:15:00 +10:00
device.c drm/nouveau/nvif: device time mthd 2015-08-28 12:40:33 +10:00
driver.c drm/nouveau/core/client: allow creation of subclients 2017-02-17 15:15:00 +10:00
notify.c drm/nouveau: fix notify data leak 2016-11-07 14:04:37 +10:00
object.c drm/nouveau/nvif: return min/max versions for supported object classes 2015-08-28 12:40:32 +10:00