-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graphics: Get NVIDIA GPU features without driver loaded
Store the device ID at PCI enumeration so it does not need to be fetched from sysfs again later. Search /usr/share/doc for the NVIDIA driver folder instead of getting the version of the loaded driver. Allows getting the dGPU features when the driver is unloaded and the PCI device has been removed from the bus. Signed-off-by: Tim Crawford <tcrawford@system76.com>
- Loading branch information
Showing
1 changed file
with
46 additions
and
28 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