From 803c1787efd379110963db360fbe06ed0b41197e Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sun, 10 Aug 2014 04:10:21 +1000 Subject: drm/nouveau/client: add method to retrieve device list Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/nvif/class.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'drivers/gpu/drm/nouveau/nvif') diff --git a/drivers/gpu/drm/nouveau/nvif/class.h b/drivers/gpu/drm/nouveau/nvif/class.h index 36ecc3e6a241..3013656bdfa6 100644 --- a/drivers/gpu/drm/nouveau/nvif/class.h +++ b/drivers/gpu/drm/nouveau/nvif/class.h @@ -9,6 +9,20 @@ #define NV_DEVICE 0x00000080 +/******************************************************************************* + * client + ******************************************************************************/ + +#define NV_CLIENT_DEVLIST 0x00 + +struct nv_client_devlist_v0 { + __u8 version; + __u8 count; + __u8 pad02[6]; + __u64 device[]; +}; + + /******************************************************************************* * device ******************************************************************************/ -- cgit v1.2.3-70-g09d2