summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hal_gp10b.c4
-rw-r--r--drivers/gpu/nvgpu/gp10b/hal_gp10b.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
index 68dfcfe4..1050c89f 100644
--- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
@@ -88,9 +88,9 @@
88#include <nvgpu/hw/gp10b/hw_pwr_gp10b.h> 88#include <nvgpu/hw/gp10b/hw_pwr_gp10b.h>
89#include <nvgpu/hw/gp10b/hw_gr_gp10b.h> 89#include <nvgpu/hw/gp10b/hw_gr_gp10b.h>
90 90
91int gp10b_get_litter_value(struct gk20a *g, int value) 91u32 gp10b_get_litter_value(struct gk20a *g, int value)
92{ 92{
93 int ret = EINVAL; 93 u32 ret = EINVAL;
94 switch (value) { 94 switch (value) {
95 case GPU_LIT_NUM_GPCS: 95 case GPU_LIT_NUM_GPCS:
96 ret = proj_scal_litter_num_gpcs_v(); 96 ret = proj_scal_litter_num_gpcs_v();
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.h b/drivers/gpu/nvgpu/gp10b/hal_gp10b.h
index 6ba80b88..13103c17 100644
--- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.h
@@ -27,5 +27,5 @@
27struct gk20a; 27struct gk20a;
28 28
29int gp10b_init_hal(struct gk20a *gops); 29int gp10b_init_hal(struct gk20a *gops);
30int gp10b_get_litter_value(struct gk20a *g, int value); 30u32 gp10b_get_litter_value(struct gk20a *g, int value);
31#endif /* NVGPU_HAL_GP10B_H */ 31#endif /* NVGPU_HAL_GP10B_H */