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 / if0003.h
blobae30b8261b88231ca3f6390014933b4f1e9f5de0
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVIF_IF0003_H__
3 #define __NVIF_IF0003_H__
5 struct nvif_perfdom_v0 {
6 __u8 version;
7 __u8 domain;
8 __u8 mode;
9 __u8 pad03[1];
10 struct {
11 __u8 signal[4];
12 __u64 source[4][8];
13 __u16 logic_op;
14 } ctr[4];
17 #define NVIF_PERFDOM_V0_INIT 0x00
18 #define NVIF_PERFDOM_V0_SAMPLE 0x01
19 #define NVIF_PERFDOM_V0_READ 0x02
21 struct nvif_perfdom_init {
24 struct nvif_perfdom_sample {
27 struct nvif_perfdom_read_v0 {
28 __u8 version;
29 __u8 pad01[7];
30 __u32 ctr[4];
31 __u32 clk;
32 __u8 pad04[4];
34 #endif