summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/hal_gv100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/hal_gv100.c')
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index 3c3e5742..aecebf79 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -125,9 +125,9 @@
125#include <nvgpu/hw/gv100/hw_pwr_gv100.h> 125#include <nvgpu/hw/gv100/hw_pwr_gv100.h>
126#include <nvgpu/hw/gv100/hw_gr_gv100.h> 126#include <nvgpu/hw/gv100/hw_gr_gv100.h>
127 127
128static int gv100_get_litter_value(struct gk20a *g, int value) 128static u32 gv100_get_litter_value(struct gk20a *g, int value)
129{ 129{
130 int ret = EINVAL; 130 u32 ret = EINVAL;
131 switch (value) { 131 switch (value) {
132 case GPU_LIT_NUM_GPCS: 132 case GPU_LIT_NUM_GPCS:
133 ret = proj_scal_litter_num_gpcs_v(); 133 ret = proj_scal_litter_num_gpcs_v();