summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.c4
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
index 986d3b82..0ee0e6c8 100644
--- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
@@ -104,9 +104,9 @@
104#include <nvgpu/hw/gv11b/hw_pwr_gv11b.h> 104#include <nvgpu/hw/gv11b/hw_pwr_gv11b.h>
105#include <nvgpu/hw/gv11b/hw_gr_gv11b.h> 105#include <nvgpu/hw/gv11b/hw_gr_gv11b.h>
106 106
107int gv11b_get_litter_value(struct gk20a *g, int value) 107u32 gv11b_get_litter_value(struct gk20a *g, int value)
108{ 108{
109 int ret = EINVAL; 109 u32 ret = EINVAL;
110 switch (value) { 110 switch (value) {
111 case GPU_LIT_NUM_GPCS: 111 case GPU_LIT_NUM_GPCS:
112 ret = proj_scal_litter_num_gpcs_v(); 112 ret = proj_scal_litter_num_gpcs_v();
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.h b/drivers/gpu/nvgpu/gv11b/hal_gv11b.h
index d5b7ad01..b10cc727 100644
--- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.h
@@ -27,5 +27,5 @@
27struct gk20a; 27struct gk20a;
28 28
29int gv11b_init_hal(struct gk20a *gops); 29int gv11b_init_hal(struct gk20a *gops);
30int gv11b_get_litter_value(struct gk20a *g, int value); 30u32 gv11b_get_litter_value(struct gk20a *g, int value);
31#endif /* NVGPU_HAL_GV11B_H */ 31#endif /* NVGPU_HAL_GV11B_H */