summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c5
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