Commit 13e9bb03 authored by Andreas Beckmann's avatar Andreas Beckmann

New upstream version 384.111

parents 8bfa13bb 2a69a137
NVIDIA_VERSION = 384.98 NVIDIA_VERSION = 384.111
NVIDIA_VERSION = 384.98 NVIDIA_VERSION = 384.111
This diff is collapsed.
...@@ -20,11 +20,6 @@ ...@@ -20,11 +20,6 @@
#ifndef __CTK_MANAGE_GRID_LICENSE_H__ #ifndef __CTK_MANAGE_GRID_LICENSE_H__
#define __CTK_MANAGE_GRID_LICENSE_H__ #define __CTK_MANAGE_GRID_LICENSE_H__
// Licensed feature types
#define GRID_LICENSED_FEATURE_TYPE_TESLA 0
#define GRID_LICENSED_FEATURE_TYPE_VGPU 1
#define GRID_LICENSED_FEATURE_TYPE_GVW 2
G_BEGIN_DECLS G_BEGIN_DECLS
#define CTK_TYPE_MANAGE_GRID_LICENSE (ctk_manage_grid_license_get_type()) #define CTK_TYPE_MANAGE_GRID_LICENSE (ctk_manage_grid_license_get_type())
...@@ -66,10 +61,29 @@ struct _CtkManageGridLicense ...@@ -66,10 +61,29 @@ struct _CtkManageGridLicense
DbusData *dbusData; DbusData *dbusData;
gint license_edition_state; gint license_edition_state;
gboolean license_edition_gvw_selected; gint feature_type; // Feature type from UI/gridd.conf.
gint feature_type; int gridd_feature_type; // Feature type fetched from nvidia-gridd.
}; };
/*
* Status related to GRID licensing
*/
typedef enum
{
NV_GRID_UNLICENSED_VGPU = 0,
NV_GRID_UNLICENSED_VAPP,
NV_GRID_UNLICENSED_QDWS_SELECTED,
NV_GRID_LICENSE_ACQUIRED_VGPU,
NV_GRID_LICENSE_ACQUIRED_QDWS,
NV_GRID_LICENSE_REQUESTING_VGPU,
NV_GRID_LICENSE_REQUESTING_QDWS,
NV_GRID_LICENSE_FAILED_VGPU,
NV_GRID_LICENSE_FAILED_QDWS,
NV_GRID_LICENSE_EXPIRED_VGPU,
NV_GRID_LICENSE_EXPIRED_QDWS,
NV_GRID_LICENSE_RESTART_REQUIRED,
} licenseStatus;
struct _CtkManageGridLicenseClass struct _CtkManageGridLicenseClass
{ {
GtkVBoxClass parent_class; GtkVBoxClass parent_class;
......
NVIDIA_VERSION = 384.98 NVIDIA_VERSION = 384.111
...@@ -27,28 +27,33 @@ ...@@ -27,28 +27,33 @@
#define NV_GRID_DBUS_OBJECT "/nvidia/grid/license" #define NV_GRID_DBUS_OBJECT "/nvidia/grid/license"
#define NV_GRID_DBUS_INTERFACE "nvidia.grid.license" #define NV_GRID_DBUS_INTERFACE "nvidia.grid.license"
#define NV_GRID_DBUS_METHOD "GridLicenseState" #define NV_GRID_DBUS_METHOD "GridLicenseState"
#define LICENSE_DETAILS_UPDATE_SUCCESS 0
#define LICENSE_STATE_REQUEST 1 #define LICENSE_STATE_REQUEST 1
#define LICENSE_DETAILS_UPDATE_REQUEST 2 #define LICENSE_DETAILS_UPDATE_REQUEST 2
#define LICENSE_DETAILS_UPDATE_SUCCESS 0 #define LICENSE_FEATURE_TYPE_REQUEST 3
/*
* GRID license states
*/
typedef enum
{
NV_GRID_UNLICENSED = 0,
NV_GRID_LICENSE_REQUESTING,
NV_GRID_LICENSE_FAILED,
NV_GRID_LICENSED,
NV_GRID_LICENSE_RENEWING,
NV_GRID_LICENSE_RENEW_FAILED,
NV_GRID_LICENSE_EXPIRED,
} gridLicenseState;
/* /*
* List of grid license states * GRID license feature types
*/ */
typedef enum typedef enum
{ {
NV_GRID_UNLICENSED = 0, // Your system does not have a valid GPU license. Enter license server details and apply. NV_GRID_LICENSE_FEATURE_TYPE_VAPP = 0,
NV_GRID_UNLICENSED_VGPU, // Your system does not have a valid vGPU license. Enter license server details and apply. NV_GRID_LICENSE_FEATURE_TYPE_VGPU,
NV_GRID_UNLICENSED_TESLA, // Your system is currently running on Tesla (unlicensed). NV_GRID_LICENSE_FEATURE_TYPE_QDWS,
NV_GRID_UNLICENSED_GVW_SELECTED, // Your system is currently running on Tesla (unlicensed). Enter license server details and apply. } gridLicenseFeatureType;
NV_GRID_LICENSE_ACQUIRED_VGPU, // Your system is licensed for GRID vGPU.
NV_GRID_LICENSE_ACQUIRED_GVW, // Your system is licensed for Quadro Virtual Datacenter Workstation Edition.
NV_GRID_LICENSE_REQUESTING_VGPU, // Acquiring license for GRID vGPU Edition. Your system does not have a valid GRID vGPU license.
NV_GRID_LICENSE_REQUESTING_GVW, // Acquiring license for Quadro Virtual Datacenter Workstation Edition. Your system does not have a valid Quadro Virtual Datacenter Workstation license.
NV_GRID_LICENSE_FAILED_VGPU, // Failed to acquire NVIDIA vGPU license.
NV_GRID_LICENSE_FAILED_GVW, // Failed to acquire NVIDIA Quadro Virtual Datacenter Workstation license.
NV_GRID_LICENSE_EXPIRED_VGPU, // Failed to renew license for GRID vGPU Edition. Your system does not have a valid GRID vGPU license.
NV_GRID_LICENSE_EXPIRED_GVW, // License for Quadro Virtual Datacenter Workstation has expired. Your system does not have a valid Quadro Virtual Datacenter Workstation license.
NV_GRID_LICENSE_RESTART_REQUIRED, // Restart your system for Tesla Edition. Your system is currently running Quadro Virtual Datacenter Workstation Edition.
} gridLicenseStatus;
#endif // _NVIDIA_NV_GRID_DBUS_H_ #endif // _NVIDIA_NV_GRID_DBUS_H_
#define NVIDIA_VERSION "384.98" #define NVIDIA_VERSION "384.111"
NVIDIA_VERSION = 384.98 NVIDIA_VERSION = 384.111
NVIDIA_VERSION = 384.98 NVIDIA_VERSION = 384.111
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment