Blame nouveau/nvif/if0003.h

Packit Service 103f6b
#ifndef __NVIF_IF0003_H__
Packit Service 103f6b
#define __NVIF_IF0003_H__
Packit Service 103f6b
Packit Service 103f6b
struct nvif_perfdom_v0 {
Packit Service 103f6b
	__u8  version;
Packit Service 103f6b
	__u8  domain;
Packit Service 103f6b
	__u8  mode;
Packit Service 103f6b
	__u8  pad03[1];
Packit Service 103f6b
	struct {
Packit Service 103f6b
		__u8  signal[4];
Packit Service 103f6b
		__u64 source[4][8];
Packit Service 103f6b
		__u16 logic_op;
Packit Service 103f6b
	} ctr[4];
Packit Service 103f6b
};
Packit Service 103f6b
Packit Service 103f6b
#define NVIF_PERFDOM_V0_INIT                                               0x00
Packit Service 103f6b
#define NVIF_PERFDOM_V0_SAMPLE                                             0x01
Packit Service 103f6b
#define NVIF_PERFDOM_V0_READ                                               0x02
Packit Service 103f6b
Packit Service 103f6b
struct nvif_perfdom_init {
Packit Service 103f6b
};
Packit Service 103f6b
Packit Service 103f6b
struct nvif_perfdom_sample {
Packit Service 103f6b
};
Packit Service 103f6b
Packit Service 103f6b
struct nvif_perfdom_read_v0 {
Packit Service 103f6b
	__u8  version;
Packit Service 103f6b
	__u8  pad01[7];
Packit Service 103f6b
	__u32 ctr[4];
Packit Service 103f6b
	__u32 clk;
Packit Service 103f6b
	__u8  pad04[4];
Packit Service 103f6b
};
Packit Service 103f6b
#endif