| .. | .. |
|---|
| 35 | 35 | DF_V3_6_MGCG_ENABLE_63_CYCLE_DELAY = 15 |
|---|
| 36 | 36 | }; |
|---|
| 37 | 37 | |
|---|
| 38 | +/* Defined in global_features.h as FTI_PERFMON_VISIBLE */ |
|---|
| 39 | +#define DF_V3_6_MAX_COUNTERS 4 |
|---|
| 40 | + |
|---|
| 41 | +/* get flags from df perfmon config */ |
|---|
| 42 | +#define DF_V3_6_GET_EVENT(x) (x & 0xFFUL) |
|---|
| 43 | +#define DF_V3_6_GET_INSTANCE(x) ((x >> 8) & 0xFFUL) |
|---|
| 44 | +#define DF_V3_6_GET_UNITMASK(x) ((x >> 16) & 0xFFUL) |
|---|
| 45 | +#define DF_V3_6_PERFMON_OVERFLOW 0xFFFFFFFFFFFFULL |
|---|
| 46 | + |
|---|
| 47 | +extern const struct attribute_group *df_v3_6_attr_groups[]; |
|---|
| 38 | 48 | extern const struct amdgpu_df_funcs df_v3_6_funcs; |
|---|
| 39 | 49 | |
|---|
| 40 | 50 | #endif |
|---|