diff options
author | Sam Payne <spayne@nvidia.com> | 2014-10-31 17:27:33 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:56 -0400 |
commit | 8c6a9fd1151299697037d58f33cfa306d8ac5d87 (patch) | |
tree | 9bb909474f12565e7f61251b8b80f300030bde52 /drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c | |
parent | 4f6dddcf78233b9939ee32c6f09519f27c3b8fb4 (diff) |
Revert "gpu: nvgpu: GR and LTC HAL to use const structs"
This reverts commit 41b82e97164138f45fbdaef6ab6939d82ca9419e.
Change-Id: Iabd01fcb124e0d22cd9be62151a6552cbb27fc94
Signed-off-by: Sam Payne <spayne@nvidia.com>
Reviewed-on: http://git-master/r/592221
Tested-by: Hoang Pham <hopham@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c index 2abb0e9d..52a34086 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c | |||
@@ -26,7 +26,6 @@ | |||
26 | 26 | ||
27 | #include <mach/clk.h> | 27 | #include <mach/clk.h> |
28 | 28 | ||
29 | #include "gr_ops.h" | ||
30 | #include "gk20a.h" | 29 | #include "gk20a.h" |
31 | #include "gr_gk20a.h" | 30 | #include "gr_gk20a.h" |
32 | #include "fifo_gk20a.h" | 31 | #include "fifo_gk20a.h" |
@@ -624,9 +623,9 @@ static ssize_t tpc_fs_mask_read(struct device *device, | |||
624 | u32 tpc_fs_mask = 0; | 623 | u32 tpc_fs_mask = 0; |
625 | 624 | ||
626 | for (gpc_index = 0; gpc_index < gr->gpc_count; gpc_index++) { | 625 | for (gpc_index = 0; gpc_index < gr->gpc_count; gpc_index++) { |
627 | if (g->ops.gr->get_gpc_tpc_mask) | 626 | if (g->ops.gr.get_gpc_tpc_mask) |
628 | tpc_fs_mask |= | 627 | tpc_fs_mask |= |
629 | g->ops.gr->get_gpc_tpc_mask(g, gpc_index) << | 628 | g->ops.gr.get_gpc_tpc_mask(g, gpc_index) << |
630 | (gr->max_tpc_per_gpc_count * gpc_index); | 629 | (gr->max_tpc_per_gpc_count * gpc_index); |
631 | } | 630 | } |
632 | 631 | ||