From d0850123a8dfdc5ad4b832fe812d2759751b3adc Mon Sep 17 00:00:00 2001 From: Sagar Kamble Date: Wed, 4 Mar 2020 19:59:12 +0530 Subject: [PATCH] gpu: nvgpu: remove tegra_edp_notify_gpu_load usage Since this is just a nop stub, remove it's usage to reduce the downstream debt. Bug 200593710 Bug 2834141 Change-Id: I13e16462d9555bb9ebae01de65c43f59e007785d Signed-off-by: Sagar Kamble Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2307299 Tested-by: mobile promotions Reviewed-by: mobile promotions --- drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c index e4e8ed307..570ddd75f 100644 --- a/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c @@ -17,7 +17,6 @@ #include #include #include -#include #include #include #include @@ -202,7 +201,6 @@ static void gk20a_tegra_prescale(struct device *dev) u32 avg = 0; nvgpu_pmu_load_norm(g, &avg); - tegra_edp_notify_gpu_load(avg, clk_get_rate(g->clk.tegra_clk)); } /* @@ -873,7 +871,6 @@ static int gk20a_tegra_remove(struct device *dev) static int gk20a_tegra_suspend(struct device *dev) { - tegra_edp_notify_gpu_load(0, 0); return 0; }