diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2014-06-05 07:45:58 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:11 -0400 |
commit | 6cd26db47779441078746390f14f78848cd047ab (patch) | |
tree | d65bb35f61513bb4a7c7bf709dc5d44c7d683087 /drivers/gpu/nvgpu/gk20a/gk20a.c | |
parent | 3227958a5e30692c22433b3f8afe3f0254137b62 (diff) |
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 <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/421703
(cherry picked from commit 391d9bacf053fe0dacffc76c36768f82912ad1f4)
Reviewed-on: http://git-master/r/419612
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 14 |
1 files changed, 0 insertions, 14 deletions
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) | |||
1738 | return 0; | 1738 | return 0; |
1739 | } | 1739 | } |
1740 | 1740 | ||
1741 | int nvhost_vpr_info_fetch(void) | ||
1742 | { | ||
1743 | struct gk20a *g = get_gk20a(to_platform_device( | ||
1744 | bus_find_device_by_name(&platform_bus_type, | ||
1745 | NULL, "gk20a.0"))); | ||
1746 | |||
1747 | if (!g) { | ||
1748 | pr_info("gk20a ins't ready yet\n"); | ||
1749 | return 0; | ||
1750 | } | ||
1751 | |||
1752 | return gk20a_mm_mmu_vpr_info_fetch(g); | ||
1753 | } | ||
1754 | |||
1755 | static const struct firmware * | 1741 | static const struct firmware * |
1756 | do_request_firmware(struct device *dev, const char *prefix, const char *fw_name) | 1742 | do_request_firmware(struct device *dev, const char *prefix, const char *fw_name) |
1757 | { | 1743 | { |