diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-10-21 05:23:44 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-06 12:13:59 -0500 |
commit | b5c6aebe7a090a8888d7cd6607d58c061757cb78 (patch) | |
tree | 1cc54ec26ed5fd36ae5cdf3a8b8d5ec07a355db4 /include/linux/tegra_vgpu.h | |
parent | e3e2786567c9066ccf612b7c421ad0f52ebb82ba (diff) |
gpu: nvgpu: select N'th freq from all available frequencies
We right now get min and max frequencies, and then
interpolate rest of the frequencies.
With this approach, we do not select exact
frequencies as supported by h/w
Fix this so that we query all supported frequencies
using clk_round_rate() and then select every N'th
frequency to keep number of frequencies under limit
Use GP10B_FREQ_SELECT_STEP (currently set to 8)
to configure frequency selection step
Raise GP10B_MAX_SUPPORTED_FREQS to 200 since h/w
supported frequencies could be in that range
Bug 1827281
Change-Id: Id8678d7a0280a249e4affbba084ff2e33b6694e6
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1280629
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux/tegra_vgpu.h')
0 files changed, 0 insertions, 0 deletions