Searched refs:gt_id (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_pmu.c | 194 static u64 read_sample(struct i915_pmu *pmu, unsigned int gt_id, int sample) in read_sample() argument 196 return pmu->sample[gt_id][sample].cur; in read_sample() 200 store_sample(struct i915_pmu *pmu, unsigned int gt_id, int sample, u64 val) in store_sample() argument 202 pmu->sample[gt_id][sample].cur = val; in store_sample() 206 add_sample_mult(struct i915_pmu *pmu, unsigned int gt_id, int sample, u32 val, u32 mul) in add_sample_mult() argument 208 pmu->sample[gt_id][sample].cur += mul_u32_u32(val, mul); in add_sample_mult() 214 const unsigned int gt_id = gt->info.id; in get_rc6() local 229 store_sample(pmu, gt_id, __I915_SAMPLE_RC6, val); in get_rc6() 238 val = ktime_since_raw(pmu->sleep_last[gt_id]); in get_rc6() 239 val += read_sample(pmu, gt_id, __I915_SAMPLE_RC6); in get_rc6() [all …]
|