Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / gpu / drm / nouveau / include / nvif / if0002.h
blobd9235c01119618530f988c2e54292fbf98bc42f4
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVIF_IF0002_H__
3 #define __NVIF_IF0002_H__
5 #define NVIF_PERFMON_V0_QUERY_DOMAIN 0x00
6 #define NVIF_PERFMON_V0_QUERY_SIGNAL 0x01
7 #define NVIF_PERFMON_V0_QUERY_SOURCE 0x02
9 struct nvif_perfmon_query_domain_v0 {
10 __u8 version;
11 __u8 id;
12 __u8 counter_nr;
13 __u8 iter;
14 __u16 signal_nr;
15 __u8 pad05[2];
16 char name[64];
19 struct nvif_perfmon_query_signal_v0 {
20 __u8 version;
21 __u8 domain;
22 __u16 iter;
23 __u8 signal;
24 __u8 source_nr;
25 __u8 pad05[2];
26 char name[64];
29 struct nvif_perfmon_query_source_v0 {
30 __u8 version;
31 __u8 domain;
32 __u8 signal;
33 __u8 iter;
34 __u8 pad04[4];
35 __u32 source;
36 __u32 mask;
37 char name[64];
39 #endif