diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-05-16 05:40:22 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-24 07:55:47 -0400 |
commit | 8f4a590cf22fa9691953e9be0dca18b399228167 (patch) | |
tree | e3a0e17ebba6116d0d72e0869a06507189bcfadf /drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c | |
parent | 5570194dc4d97a857b354b706949e27663ebeee0 (diff) |
gpu: nvgpu: remove TEGRA_CLK_FRAMEWORK support
CONFIG_TEGRA_CLK_FRAMEWORK is no longer supported
hence remove this config and all the code that is
protected with this config
Jira NVGPU-49
Change-Id: Ica28019e0c99e95743216e005ba2fba20357b2d5
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1483090
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c index ff9e0fc1..d7642182 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/pm_runtime.h> | 23 | #include <linux/pm_runtime.h> |
24 | #include <linux/fb.h> | 24 | #include <linux/fb.h> |
25 | #include <linux/gk20a.h> | 25 | #include <linux/gk20a.h> |
26 | #include <linux/clk/tegra.h> | ||
27 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) | 26 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) |
28 | #include <soc/tegra/tegra-dvfs.h> | 27 | #include <soc/tegra/tegra-dvfs.h> |
29 | #endif | 28 | #endif |
@@ -717,9 +716,6 @@ static ssize_t fmax_at_vmin_safe_read(struct device *dev, | |||
717 | unsigned long gpu_fmax_at_vmin_hz = 0; | 716 | unsigned long gpu_fmax_at_vmin_hz = 0; |
718 | struct clk *clk = g->clk.tegra_clk; | 717 | struct clk *clk = g->clk.tegra_clk; |
719 | 718 | ||
720 | #ifdef CONFIG_TEGRA_CLK_FRAMEWORK | ||
721 | clk = clk_get_parent(clk); | ||
722 | #endif | ||
723 | gpu_fmax_at_vmin_hz = tegra_dvfs_get_fmax_at_vmin_safe_t(clk); | 719 | gpu_fmax_at_vmin_hz = tegra_dvfs_get_fmax_at_vmin_safe_t(clk); |
724 | 720 | ||
725 | return snprintf(buf, PAGE_SIZE, "%d\n", (int)(gpu_fmax_at_vmin_hz)); | 721 | return snprintf(buf, PAGE_SIZE, "%d\n", (int)(gpu_fmax_at_vmin_hz)); |