diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/ltc_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c index fee9a807..6cb238b7 100644 --- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | |||
@@ -198,7 +198,7 @@ void gm20b_ltc_init_fs_state(struct gk20a *g) | |||
198 | void gm20b_ltc_isr(struct gk20a *g) | 198 | void gm20b_ltc_isr(struct gk20a *g) |
199 | { | 199 | { |
200 | u32 mc_intr, ltc_intr; | 200 | u32 mc_intr, ltc_intr; |
201 | int ltc, slice; | 201 | unsigned int ltc, slice; |
202 | u32 ltc_stride = nvgpu_get_litter_value(g, GPU_LIT_LTC_STRIDE); | 202 | u32 ltc_stride = nvgpu_get_litter_value(g, GPU_LIT_LTC_STRIDE); |
203 | u32 lts_stride = nvgpu_get_litter_value(g, GPU_LIT_LTS_STRIDE); | 203 | u32 lts_stride = nvgpu_get_litter_value(g, GPU_LIT_LTS_STRIDE); |
204 | 204 | ||
@@ -227,8 +227,8 @@ void gm20b_ltc_g_elpg_flush_locked(struct gk20a *g) | |||
227 | u32 data; | 227 | u32 data; |
228 | bool done[g->ltc_count]; | 228 | bool done[g->ltc_count]; |
229 | s32 retry = 100; | 229 | s32 retry = 100; |
230 | int i; | 230 | unsigned int i; |
231 | int num_done = 0; | 231 | unsigned int num_done = 0; |
232 | u32 ltc_d = ltc_ltc1_ltss_g_elpg_r() - ltc_ltc0_ltss_g_elpg_r(); | 232 | u32 ltc_d = ltc_ltc1_ltss_g_elpg_r() - ltc_ltc0_ltss_g_elpg_r(); |
233 | 233 | ||
234 | gk20a_dbg_fn(""); | 234 | gk20a_dbg_fn(""); |
@@ -289,7 +289,7 @@ u32 gm20b_ltc_cbc_fix_config(struct gk20a *g, int base) | |||
289 | void gm20b_flush_ltc(struct gk20a *g) | 289 | void gm20b_flush_ltc(struct gk20a *g) |
290 | { | 290 | { |
291 | unsigned long timeout; | 291 | unsigned long timeout; |
292 | int ltc; | 292 | unsigned int ltc; |
293 | u32 ltc_stride = nvgpu_get_litter_value(g, GPU_LIT_LTC_STRIDE); | 293 | u32 ltc_stride = nvgpu_get_litter_value(g, GPU_LIT_LTC_STRIDE); |
294 | 294 | ||
295 | #define __timeout_init() \ | 295 | #define __timeout_init() \ |