Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interfaces/opengl: Enable parsing of nvidia driver information files #14893

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jocado
Copy link
Contributor

@jocado jocado commented Dec 23, 2024

interfaces/opengl: Enable parsing of nvidia driver information files

Some nvidia hardware companion utilities required access to driver information in order to operate properly, for example nvidia-persistenced. This enables read only access to those files.

Example file content:

/proc/driver/nvidia/gpus/0000\:70\:00.0/information

Model: 		 NVIDIA L4
IRQ:   		 16
GPU UUID: 	 GPU-3291dfa4-fcc4-0110-615b-c894a0d7c689
Video BIOS: 	 95.04.65.00.13
Bus Type: 	 PCIe
DMA Size: 	 47 bits
DMA Mask: 	 0x7fffffffffff
Bus Location: 	 0000:70:00.0
Device Minor: 	 0
GPU Excluded:	 No

/proc/driver/nvidia/capabilities/mig/monitor

DeviceFileMinor: 2
DeviceFileMode: 292
DeviceFileModify: 1

Some nvidia hardware companion utilities required access to driver
information in order to operate properly, for example and nvidia-persistenced.
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.87%. Comparing base (24a0034) to head (f72b80c).
Report is 75 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #14893       +/-   ##
===========================================
+ Coverage   78.20%   95.87%   +17.67%     
===========================================
  Files        1151     1156        +5     
  Lines      151396   801727   +650331     
===========================================
+ Hits       118402   768692   +650290     
- Misses      25662    25685       +23     
- Partials     7332     7350       +18     
Flag Coverage Δ
unittests 95.87% <ø> (+17.67%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant