From 6cd26db47779441078746390f14f78848cd047ab Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Thu, 5 Jun 2014 17:15:58 +0530 Subject: gpu: nvgpu: remove unused vpr refetch functions VPR resize is done by forcing GPU to idle and then updating VPR size from TLK. There is no need now to call vpr_resize funtion from kernel and hence these functions can be removed. Bug 1487804 Change-Id: I758a6e0a99a58757866f1138b0a89594e2a33908 Signed-off-by: Deepak Nibade Reviewed-on: http://git-master/r/421703 (cherry picked from commit 391d9bacf053fe0dacffc76c36768f82912ad1f4) Reviewed-on: http://git-master/r/419612 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gk20a.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 12c36d33..8e142e6e 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c @@ -1738,20 +1738,6 @@ int gk20a_init_gpu_characteristics(struct gk20a *g) return 0; } -int nvhost_vpr_info_fetch(void) -{ - struct gk20a *g = get_gk20a(to_platform_device( - bus_find_device_by_name(&platform_bus_type, - NULL, "gk20a.0"))); - - if (!g) { - pr_info("gk20a ins't ready yet\n"); - return 0; - } - - return gk20a_mm_mmu_vpr_info_fetch(g); -} - static const struct firmware * do_request_firmware(struct device *dev, const char *prefix, const char *fw_name) { -- cgit v1.2.2