diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hal_gm20b.c | 4 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hal_gm20b.h | 2 |
2 files changed, 3 insertions, 3 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 | ||
74 | int gm20b_get_litter_value(struct gk20a *g, int value) | 74 | u32 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(); |
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.h b/drivers/gpu/nvgpu/gm20b/hal_gm20b.h index 5deb7ef5..ec6b4e96 100644 --- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.h | |||
@@ -27,5 +27,5 @@ | |||
27 | struct gk20a; | 27 | struct gk20a; |
28 | 28 | ||
29 | int gm20b_init_hal(struct gk20a *g); | 29 | int gm20b_init_hal(struct gk20a *g); |
30 | int gm20b_get_litter_value(struct gk20a *g, int value); | 30 | u32 gm20b_get_litter_value(struct gk20a *g, int value); |
31 | #endif /* NVGPU_GM20B_HAL_GM20B_H */ | 31 | #endif /* NVGPU_GM20B_HAL_GM20B_H */ |