diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index cffc56d1..1384f1f7 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |||
@@ -984,7 +984,7 @@ static int gr_gm20b_update_pc_sampling(struct channel_gk20a *c, | |||
984 | if (!ctx_ptr) | 984 | if (!ctx_ptr) |
985 | return -ENOMEM; | 985 | return -ENOMEM; |
986 | 986 | ||
987 | v = gk20a_mem_rd32(ctx_ptr, ctxsw_prog_main_image_pm_o()); | 987 | v = gk20a_mem_rd32(ctx_ptr + ctxsw_prog_main_image_pm_o(), 0); |
988 | v &= ~ctxsw_prog_main_image_pm_pc_sampling_m(); | 988 | v &= ~ctxsw_prog_main_image_pm_pc_sampling_m(); |
989 | v |= ctxsw_prog_main_image_pm_pc_sampling_f(enable); | 989 | v |= ctxsw_prog_main_image_pm_pc_sampling_f(enable); |
990 | gk20a_mem_wr32(ctx_ptr + ctxsw_prog_main_image_pm_o(), 0, v); | 990 | gk20a_mem_wr32(ctx_ptr + ctxsw_prog_main_image_pm_o(), 0, v); |