Files
linux-nvgpu/drivers/gpu
Deepak Nibade b5c6aebe7a 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>
2017-01-06 09:13:59 -08:00
..