summaryrefslogtreecommitdiffstats
path: root/kernel/include/ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/ioctl.h')
-rw-r--r--kernel/include/ioctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/include/ioctl.h b/kernel/include/ioctl.h
index 36d28ac..58fea37 100644
--- a/kernel/include/ioctl.h
+++ b/kernel/include/ioctl.h
@@ -42,6 +42,7 @@ struct nv_vgpu_type_info {
u64 vdev_id;
u64 pdev_id;
u32 max_instances;
+ u32 vram_mb; /* emulated framebuffer size; 0 = 512 MiB default */
};
struct nv_vgpu_ioctl_get_info {
@@ -111,6 +112,7 @@ struct nv_vgpu_ioctl_register_vgpu_type {
u64 vdev_id;
u64 pdev_id;
u32 max_instances;
+ u32 vram_mb;
};
int nv_vgpu_ioctl_get_info(struct nv_vgpu_device *vgpu, void __user *arg);