-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Once licensed, switching to a different feature requires a system reb…
…oot, notify user about the same. Details: On licensed NMOS setup, if user restarts nvidia-gridd service and selected 'GRID Virtual Apps' license edition. There is mismatch in licensed feature type enabled in the driver and feature type read from gridd.conf/UI control. In this change, notify user that license features are still enabled in the driver even if license is released and hence restart is required. Set appropriate license status message to indicate the same. Fix: Added NV_CTRL_ATTR_NVML_GPU_GRID_LICENSABLE_FEATURES attribute to get feature code of the currently licensed feature. Used the existing NVML api nvmlDeviceGetGridLicensableFeatures to fetch this feature code. And then query this licensed feature code in nvidia-settings. Setting the restart required status message when there is mismatch in the queried licensed feature type and the feature type read from gridd.conf/UI. Testing done: Verified on NMOS, correct license status message is displayed.
- Loading branch information
Showing
5 changed files
with
158 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters