root/drivers/gpu/drm/nouveau/include/nvif/if0002.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: MIT */
   2 #ifndef __NVIF_IF0002_H__
   3 #define __NVIF_IF0002_H__
   4 
   5 #define NVIF_PERFMON_V0_QUERY_DOMAIN                                       0x00
   6 #define NVIF_PERFMON_V0_QUERY_SIGNAL                                       0x01
   7 #define NVIF_PERFMON_V0_QUERY_SOURCE                                       0x02
   8 
   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];
  17 };
  18 
  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];
  27 };
  28 
  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];
  38 };
  39 #endif

/* [<][>][^][v][top][bottom][index][help] */