summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Chitte <schitte@nvidia.com>2017-06-02 01:31:13 -0700
committerAaron Plattner <aplattner@nvidia.com>2017-06-05 15:31:55 -0700
commit54014eb63d376f2135cac096e0d2594a65f9074a (patch)
treea32fd1477b152c2c89026ca5871bcb7b46d59e41
parent2079e59bf1bde2d4926b9d058158fbf1aabda2b1 (diff)
Updated new grid license status messages.
-rw-r--r--src/gtk+-2.x/ctkgridlicense.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/gtk+-2.x/ctkgridlicense.c b/src/gtk+-2.x/ctkgridlicense.c
index 0cbcaef..f62640c 100644
--- a/src/gtk+-2.x/ctkgridlicense.c
+++ b/src/gtk+-2.x/ctkgridlicense.c
@@ -707,6 +707,18 @@ static gboolean update_manage_grid_license_info(gpointer user_data)
/* Show the message received */
switch (licenseStatus) {
+ case NV_GRID_UNLICENSED_VGPU:
+ licenseState = "Your system does not have a valid vGPU license.\n"
+ "Enter license server details and apply.";
+ break;
+ case NV_GRID_UNLICENSED_TESLA:
+ licenseState = "Your system is currently running on "
+ "Tesla (unlicensed).";
+ break;
+ case NV_GRID_UNLICENSED_GVW_SELECTED:
+ licenseState = "Your system is currently running on Tesla (unlicensed).\n"
+ "Enter license server details and apply.";
+ break;
case NV_GRID_LICENSE_ACQUIRED_VGPU:
licenseState = "Your system is licensed for GRID vGPU.";
break;
@@ -746,7 +758,6 @@ static gboolean update_manage_grid_license_info(gpointer user_data)
"Your system is currently running GRID Virtual "
"Workstation Edition.";
break;
- case NV_GRID_UNLICENSED:
default:
licenseState = "Your system does not have a valid GPU license.\n"
"Enter license server details and apply.";