Re: [Intel-gfx] [PATCH 1/2] drm/i915/rps: Add frequency translation helpers

2019-12-09 Thread Chris Wilson
Quoting Andi Shyti (2019-12-09 22:35:55) > From: Andi Shyti > > Add two helpers that for reading the actual GT's frequency. The > two helpers are: > > - intel_cagf_read: reads the frequency and returns it not >normalized > > - intel_cagf_freq_read: provides the frequency in Hz. > > Use t

[Intel-gfx] [PATCH 1/2] drm/i915/rps: Add frequency translation helpers

2019-12-09 Thread Andi Shyti
From: Andi Shyti Add two helpers that for reading the actual GT's frequency. The two helpers are: - intel_cagf_read: reads the frequency and returns it not normalized - intel_cagf_freq_read: provides the frequency in Hz. Use the above helpers in sysfs and debugfs. Signed-off-by: Andi Shy