summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2020-02-03 08:18:09 -0800
committerAaron Plattner <aplattner@nvidia.com>2020-02-03 08:18:09 -0800
commit8cb9e0a213dcf83a64f00216db693f9dac5f3b9e (patch)
tree0867e7d66e85473644a1c433973229e9404c18cf
parent823e43ef9f657e207580f0abfe7d977fbda31ed9 (diff)
440.59440.59
-rw-r--r--doc/version.mk2
-rw-r--r--samples/version.mk2
-rw-r--r--src/gtk+-2.x/ctkdisplayconfig-utils.c2
-rw-r--r--src/libXNVCtrl/version.mk2
-rw-r--r--src/nvml.h25
-rw-r--r--src/version.h2
-rw-r--r--src/version.mk2
-rw-r--r--version.mk2
8 files changed, 32 insertions, 7 deletions
diff --git a/doc/version.mk b/doc/version.mk
index dec43d6..32415ac 100644
--- a/doc/version.mk
+++ b/doc/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 440.44
+NVIDIA_VERSION = 440.59
diff --git a/samples/version.mk b/samples/version.mk
index dec43d6..32415ac 100644
--- a/samples/version.mk
+++ b/samples/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 440.44
+NVIDIA_VERSION = 440.59
diff --git a/src/gtk+-2.x/ctkdisplayconfig-utils.c b/src/gtk+-2.x/ctkdisplayconfig-utils.c
index aef4909..b8acec4 100644
--- a/src/gtk+-2.x/ctkdisplayconfig-utils.c
+++ b/src/gtk+-2.x/ctkdisplayconfig-utils.c
@@ -4803,7 +4803,7 @@ SaveXConfDlg *create_save_xconfig_dialog(GtkWidget *parent,
if (tmp_filename) {
filename = g_strdup(tmp_filename);
} else {
- filename = g_strdup("");
+ filename = g_strdup("/etc/X11/xorg.conf");
}
xconfigCloseConfigFile();
diff --git a/src/libXNVCtrl/version.mk b/src/libXNVCtrl/version.mk
index dec43d6..32415ac 100644
--- a/src/libXNVCtrl/version.mk
+++ b/src/libXNVCtrl/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 440.44
+NVIDIA_VERSION = 440.59
diff --git a/src/nvml.h b/src/nvml.h
index 5b7fe14..7c8e274 100644
--- a/src/nvml.h
+++ b/src/nvml.h
@@ -5749,6 +5749,31 @@ nvmlReturn_t DECLDIR nvmlVgpuInstanceGetVmID(nvmlVgpuInstance_t vgpuInstance, ch
nvmlReturn_t DECLDIR nvmlVgpuInstanceGetUUID(nvmlVgpuInstance_t vgpuInstance, char *uuid, unsigned int size);
/**
+ * Retrieve the MDEV UUID of a vGPU instance.
+ *
+ * The MDEV UUID is a globally unique identifier of the mdev device assigned to the VM, and is returned as a 5-part hexadecimal string,
+ * not exceeding 80 characters in length (including the NULL terminator).
+ * MDEV UUID is displayed only on KVM platform.
+ * See \ref nvmlConstants::NVML_DEVICE_UUID_BUFFER_SIZE.
+ *
+ * For Maxwell &tm; or newer fully supported devices.
+ *
+ * @param vgpuInstance Identifier of the target vGPU instance
+ * @param mdevUuid Pointer to caller-supplied buffer to hold MDEV UUID
+ * @param size Size of buffer in bytes
+ *
+ * @return
+ * - \ref NVML_SUCCESS successful completion
+ * - \ref NVML_ERROR_UNINITIALIZED if the library has not been successfully initialized
+ * - \ref NVML_ERROR_NOT_SUPPORTED on any hypervisor other than KVM
+ * - \ref NVML_ERROR_INVALID_ARGUMENT if \a vgpuInstance is 0, or \a mdevUuid is NULL
+ * - \ref NVML_ERROR_NOT_FOUND if \a vgpuInstance does not match a valid active vGPU instance on the system
+ * - \ref NVML_ERROR_INSUFFICIENT_SIZE if \a size is too small
+ * - \ref NVML_ERROR_UNKNOWN on any unexpected error
+ */
+nvmlReturn_t DECLDIR nvmlVgpuInstanceGetMdevUUID(nvmlVgpuInstance_t vgpuInstance, char *mdevUuid, unsigned int size);
+
+/**
* Retrieve the NVIDIA driver version installed in the VM associated with a vGPU.
*
* The version is returned as an alphanumeric string in the caller-supplied buffer \a version. The length of the version
diff --git a/src/version.h b/src/version.h
index 434643b..f7e4867 100644
--- a/src/version.h
+++ b/src/version.h
@@ -1 +1 @@
-#define NVIDIA_VERSION "440.44"
+#define NVIDIA_VERSION "440.59"
diff --git a/src/version.mk b/src/version.mk
index dec43d6..32415ac 100644
--- a/src/version.mk
+++ b/src/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 440.44
+NVIDIA_VERSION = 440.59
diff --git a/version.mk b/version.mk
index dec43d6..32415ac 100644
--- a/version.mk
+++ b/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 440.44
+NVIDIA_VERSION = 440.59