gpu: nvgpu: Retrieve VBIOS version from dGPU

Retrieve VBIOS version from biosdata VBIOS structure.

Bug 1811880

Change-Id: I24f4114ce7c8925bde4b195888da62454707b8e6
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1218062
(cherry picked from commit fb23e9522bc268fcf0d71cc7f2ae9a0bc6cfda23)
Reviewed-on: http://git-master/r/1234089
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Terje Bergstrom
2016-09-09 10:35:05 -07:00
committed by mobile promotions
parent 0568f26b8a
commit 18c7268cbb
2 changed files with 30 additions and 1 deletions

View File

@@ -203,7 +203,8 @@ struct nvgpu_gpu_characteristics {
__u16 pci_subsystem_vendor_id, pci_subsystem_device_id;
__u16 pci_class;
__u8 pci_revision;
__u8 reserved2[5];
__u8 vbios_oem_version;
__u32 vbios_version;
/* Notes:
- This struct can be safely appended with new fields. However, always