From a4439aee3a47ed9b966e5864a8e18a2bb13a9bb7 Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Fri, 30 Jun 2017 11:19:24 -0700 Subject: gpu: nvgpu: gv11b: read from unicast register For updating broadcast register, read the current value from unicast register. JIRA GPUT19x-75 Change-Id: Ib4a3791304cabe77cf46543d4bec0312c6fcc0fb Signed-off-by: Seema Khowala Reviewed-on: https://git-master/r/1511735 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu --- drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c') diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index 1291759f..5b1b41ce 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c @@ -2448,7 +2448,7 @@ static int gv11b_gr_sm_trigger_suspend(struct gk20a *g) * the same state in dbg_control0. */ dbgr_control0 = - gk20a_readl(g, gr_gpcs_tpcs_sms_dbgr_control0_r()); + gk20a_readl(g, gr_gpc0_tpc0_sm0_dbgr_control0_r()); dbgr_control0 |= gr_gpc0_tpc0_sm0_dbgr_control0_stop_trigger_enable_f(); /* broadcast write */ -- cgit v1.2.2