File indexing completed on 2025-01-18 10:01:48
0001 #ifndef __NVIF_IF0002_H__
0002 #define __NVIF_IF0002_H__
0003
0004 #define NVIF_PERFMON_V0_QUERY_DOMAIN 0x00
0005 #define NVIF_PERFMON_V0_QUERY_SIGNAL 0x01
0006 #define NVIF_PERFMON_V0_QUERY_SOURCE 0x02
0007
0008 struct nvif_perfmon_query_domain_v0 {
0009 __u8 version;
0010 __u8 id;
0011 __u8 counter_nr;
0012 __u8 iter;
0013 __u16 signal_nr;
0014 __u8 pad05[2];
0015 char name[64];
0016 };
0017
0018 struct nvif_perfmon_query_signal_v0 {
0019 __u8 version;
0020 __u8 domain;
0021 __u16 iter;
0022 __u8 signal;
0023 __u8 source_nr;
0024 __u8 pad05[2];
0025 char name[64];
0026 };
0027
0028 struct nvif_perfmon_query_source_v0 {
0029 __u8 version;
0030 __u8 domain;
0031 __u8 signal;
0032 __u8 iter;
0033 __u8 pad04[4];
0034 __u32 source;
0035 __u32 mask;
0036 char name[64];
0037 };
0038 #endif