summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hal_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index 427403e3..82a510e9 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -71,9 +71,9 @@
71 71
72#define PRIV_SECURITY_DISABLE 0x01 72#define PRIV_SECURITY_DISABLE 0x01
73 73
74int gm20b_get_litter_value(struct gk20a *g, int value) 74u32 gm20b_get_litter_value(struct gk20a *g, int value)
75{ 75{
76 int ret = EINVAL; 76 u32 ret = EINVAL;
77 switch (value) { 77 switch (value) {
78 case GPU_LIT_NUM_GPCS: 78 case GPU_LIT_NUM_GPCS:
79 ret = proj_scal_litter_num_gpcs_v(); 79 ret = proj_scal_litter_num_gpcs_v();