drm/nouveau/nvif: import library functions for the ioctl/event interfaces
authorBen Skeggs <bskeggs@redhat.com>
Sat, 9 Aug 2014 18:10:21 +0000 (04:10 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sat, 9 Aug 2014 19:13:09 +0000 (05:13 +1000)
commita04d04231b490a2dca427a0f04603ed47fdb9cee
treee2603db4b8eb2cab4251fd3caf9e470029243f25
parent803c1787efd379110963db360fbe06ed0b41197e
drm/nouveau/nvif: import library functions for the ioctl/event interfaces

This is a wrapper around the interfaces defined in an earlier commit,
and is also used by various userspace (either by a libdrm backend, or
libpciaccess) tools/tests.

In the future this will be extended to handle channels, replacing some
long-unloved code we currently use, and allow fifo/display/mpeg (hi
Ilia ;)) engines to all be exposed in the same way.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
14 files changed:
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/core/core/handle.c
drivers/gpu/drm/nouveau/core/include/core/class.h
drivers/gpu/drm/nouveau/nvif/client.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvif/client.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvif/device.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvif/device.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvif/driver.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvif/list.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvif/notify.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvif/notify.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvif/object.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvif/object.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvif/os.h [new symlink]