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, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
index 52a34086..2abb0e9d 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
@@ -26,6 +26,7 @@
26 26
27#include <mach/clk.h> 27#include <mach/clk.h>
28 28
29#include "gr_ops.h"
29#include "gk20a.h" 30#include "gk20a.h"
30#include "gr_gk20a.h" 31#include "gr_gk20a.h"
31#include "fifo_gk20a.h" 32#include "fifo_gk20a.h"
@@ -623,9 +624,9 @@ static ssize_t tpc_fs_mask_read(struct device *device,
623 u32 tpc_fs_mask = 0; 624 u32 tpc_fs_mask = 0;
624 625
625 for (gpc_index = 0; gpc_index < gr->gpc_count; gpc_index++) { 626 for (gpc_index = 0; gpc_index < gr->gpc_count; gpc_index++) {
626 if (g->ops.gr.get_gpc_tpc_mask) 627 if (g->ops.gr->get_gpc_tpc_mask)
627 tpc_fs_mask |= 628 tpc_fs_mask |=
628 g->ops.gr.get_gpc_tpc_mask(g, gpc_index) << 629 g->ops.gr->get_gpc_tpc_mask(g, gpc_index) <<
629 (gr->max_tpc_per_gpc_count * gpc_index); 630 (gr->max_tpc_per_gpc_count * gpc_index);
630 } 631 }
631 632