drm/nouveau/nvif: split out client interface definitions

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2015-11-08 12:26:01 +10:00
parent 923bc416aa
commit 13db6d6ea7
3 changed files with 13 additions and 13 deletions

View File

@ -138,17 +138,4 @@
#define MAXWELL_COMPUTE_B 0x0000b1c0 #define MAXWELL_COMPUTE_B 0x0000b1c0
#define NV74_CIPHER 0x000074c1 #define NV74_CIPHER 0x000074c1
/*******************************************************************************
* client
******************************************************************************/
#define NV_CLIENT_DEVLIST 0x00
struct nv_client_devlist_v0 {
__u8 version;
__u8 count;
__u8 pad02[6];
__u64 device[];
};
#endif #endif

View File

@ -0,0 +1,12 @@
#ifndef __NVIF_IF0000_H__
#define __NVIF_IF0000_H__
#define NV_CLIENT_DEVLIST 0x00
struct nv_client_devlist_v0 {
__u8 version;
__u8 count;
__u8 pad02[6];
__u64 device[];
};
#endif

View File

@ -28,6 +28,7 @@
#include <nvif/class.h> #include <nvif/class.h>
#include <nvif/event.h> #include <nvif/event.h>
#include <nvif/if0000.h>
#include <nvif/unpack.h> #include <nvif/unpack.h>
struct nvkm_client_notify { struct nvkm_client_notify {