gpu: nvgpu: Add GPU Fmax@Vmin access through BPMP

On Tegra platforms that have clock management under BPMP, and do not
support Tegra DVFS, GPU driver cannot access Fmax@Vmin (get interface
always returns "0"). Added such access through BPMP DVFS shim driver.

Bug 2045903

Change-Id: I0222f2e2917cda15d18ea3296dd1fe53b2ea6b45
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1722431
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Alex Frid
2018-05-10 19:44:22 -07:00
committed by mobile promotions
parent e1cc49420a
commit 0c80e197ea
3 changed files with 16 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ struct gk20a_platform {
* for filling this data. */
struct clk *clk[GK20A_CLKS_MAX];
int num_clks;
int maxmin_clk_id;
#ifdef CONFIG_RESET_CONTROLLER
/* Reset control for device */