summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/platform_gp10b.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2018-01-23 13:01:45 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-02-01 18:25:44 -0500
commita7fe3a845049b62275ab660b51b6bc1300177d22 (patch)
treeaf59372c7cf799d0d1ed9629d922d26c4f649052 /drivers/gpu/nvgpu/gp10b/platform_gp10b.h
parent9e283f9f40be0d357e90a355eae6d3b183073184 (diff)
gpu: nvgpu: gv11b: enable devfreq
After moving devfreq enable to end of finalize power on, intermittent issues related to gpu booting with devfreq enabled are fixed. Enabled devfreq for gv11b by enabling ""nvhost_podgov" governor in platform data. Reused scaling functions from gp10b/gk20a. Removed emc floor on railgate for power saving. Added max emc frequency as floor in rail-ungate for faster gpu boot. Bug 2049965 Bug 2039013 Bug 200377508 Change-Id: Ia1dec278b663b9f7ed859dd953a60f3eae7ef9a0 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1644702 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/platform_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/platform_gp10b.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b.h b/drivers/gpu/nvgpu/gp10b/platform_gp10b.h
index 0791c2fe..d256d126 100644
--- a/drivers/gpu/nvgpu/gp10b/platform_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * GP10B Platform (SoC) Interface 2 * GP10B Platform (SoC) Interface
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"), 7 * copy of this software and associated documentation files (the "Software"),
@@ -30,5 +30,10 @@ struct device;
30int gp10b_tegra_get_clocks(struct device *dev); 30int gp10b_tegra_get_clocks(struct device *dev);
31int gp10b_tegra_reset_assert(struct device *dev); 31int gp10b_tegra_reset_assert(struct device *dev);
32int gp10b_tegra_reset_deassert(struct device *dev); 32int gp10b_tegra_reset_deassert(struct device *dev);
33 33void gp10b_tegra_scale_init(struct device *dev);
34long gp10b_round_clk_rate(struct device *dev, unsigned long rate);
35int gp10b_clk_get_freqs(struct device *dev,
36 unsigned long **freqs, int *num_freqs);
37void gp10b_tegra_prescale(struct device *dev);
38void gp10b_tegra_postscale(struct device *pdev, unsigned long freq);
34#endif 39#endif