From fc5abc2523b3c0ca8b0b542a58ca068b6b1b1059 Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Thu, 26 Oct 2017 13:21:42 -0700 Subject: gpu: nvgpu: gpu clk is supported by bpmp gpu clk is supported by bpmp for simulation environment as well Bug 1935618 Change-Id: I2a4139164c31788af6a0ba2d73e356769cd5fa0e Signed-off-by: Seema Khowala Reviewed-on: https://git-master.nvidia.com/r/1586428 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity Reviewed-by: Terje Bergstrom GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c') diff --git a/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c index c1ff34e3..e5d19976 100644 --- a/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c +++ b/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c @@ -71,13 +71,9 @@ static void gr_gp10b_remove_sysfs(struct device *dev); int gp10b_tegra_get_clocks(struct device *dev) { - struct gk20a *g = get_gk20a(dev); struct gk20a_platform *platform = dev_get_drvdata(dev); unsigned int i; - if (nvgpu_is_enabled(g, NVGPU_IS_FMODEL)) - return 0; - platform->num_clks = 0; for (i = 0; i < ARRAY_SIZE(tegra_gp10b_clocks); i++) { long rate = tegra_gp10b_clocks[i].default_rate; -- cgit v1.2.2