580.65.06

This commit is contained in:
Maneet Singh
2025-08-04 11:15:02 -07:00
parent d890313300
commit 307159f262
1315 changed files with 477791 additions and 279973 deletions

View File

@@ -23,6 +23,7 @@
#include "linux_nvswitch.h"
#include "nv-procfs.h"
#include "ioctl_nvswitch.h"
#include <linux/fs.h>
@@ -60,6 +61,7 @@ nv_procfs_read_device_info
)
{
NVSWITCH_DEV *nvswitch_dev = s->private;
char uuid_string[NVSWITCH_UUID_STRING_LENGTH] = { 0 };
if (!nvswitch_dev)
{
@@ -83,6 +85,11 @@ nv_procfs_read_device_info
seq_printf(s, "N/A\n");
}
nvswitch_uuid_to_string(&nvswitch_dev->uuid, uuid_string, NVSWITCH_UUID_STRING_LENGTH);
seq_printf(s, "UUID: %s\n", uuid_string);
seq_printf(s, "Physical location ID: %04x\n", nvswitch_dev->phys_id);
return 0;
}