File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ static u32 frequency_enabled_mask(void)
132
132
unsigned int i ;
133
133
u32 mask = 0 ;
134
134
135
- for (i = 0 ; i < I915_PMU_MAX_GTS ; i ++ )
135
+ for (i = 0 ; i < I915_PMU_MAX_GT ; i ++ )
136
136
mask |= config_mask (__I915_PMU_ACTUAL_FREQUENCY (i )) |
137
137
config_mask (__I915_PMU_REQUESTED_FREQUENCY (i ));
138
138
Original file line number Diff line number Diff line change 38
38
__I915_NUM_PMU_SAMPLERS
39
39
};
40
40
41
- #define I915_PMU_MAX_GTS 2
41
+ #define I915_PMU_MAX_GT 2
42
42
43
43
/*
44
44
* How many different events we track in the global PMU mask.
47
47
*/
48
48
#define I915_PMU_MASK_BITS \
49
49
(I915_ENGINE_SAMPLE_COUNT + \
50
- I915_PMU_MAX_GTS * __I915_PMU_TRACKED_EVENT_COUNT)
50
+ I915_PMU_MAX_GT * __I915_PMU_TRACKED_EVENT_COUNT)
51
51
52
52
#define I915_ENGINE_SAMPLE_COUNT (I915_SAMPLE_SEMA + 1)
53
53
@@ -127,11 +127,11 @@ struct i915_pmu {
127
127
* Only global counters are held here, while the per-engine ones are in
128
128
* struct intel_engine_cs.
129
129
*/
130
- struct i915_pmu_sample sample [I915_PMU_MAX_GTS ][__I915_NUM_PMU_SAMPLERS ];
130
+ struct i915_pmu_sample sample [I915_PMU_MAX_GT ][__I915_NUM_PMU_SAMPLERS ];
131
131
/**
132
132
* @sleep_last: Last time GT parked for RC6 estimation.
133
133
*/
134
- ktime_t sleep_last [I915_PMU_MAX_GTS ];
134
+ ktime_t sleep_last [I915_PMU_MAX_GT ];
135
135
/**
136
136
* @irq_count: Number of interrupts
137
137
*
You can’t perform that action at this time.
0 commit comments