summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hal_gp106.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index c0f2fd57..3786b588 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -106,9 +106,9 @@
106#include <nvgpu/hw/gp106/hw_gr_gp106.h> 106#include <nvgpu/hw/gp106/hw_gr_gp106.h>
107 107
108 108
109static int gp106_get_litter_value(struct gk20a *g, int value) 109static u32 gp106_get_litter_value(struct gk20a *g, int value)
110{ 110{
111 int ret = -EINVAL; 111 u32 ret = EINVAL;
112 112
113 switch (value) { 113 switch (value) {
114 case GPU_LIT_NUM_GPCS: 114 case GPU_LIT_NUM_GPCS: