From f89ea110417e1c83cf21f495d6da7cdc8138a29f Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 12 Sep 2018 14:51:40 -0700 Subject: gpu: nvgpu: Move FB reset to MC unit FB reset is done by accessing MC register. Move the code to MC unit. JIRA NVGPU-954 Change-Id: I1636887af805f016da5490af65e808f9ac015cde Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1823385 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c') diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 42969805..6a2dae77 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c @@ -430,7 +430,6 @@ static const struct gpu_ops gv11b_ops = { .set_debug_mode = gm20b_gr_set_debug_mode, }, .fb = { - .reset = gv11b_fb_reset, .init_hw = gv11b_fb_init_hw, .init_fs_state = gv11b_fb_init_fs_state, .init_cbc = gv11b_fb_init_cbc, @@ -761,6 +760,7 @@ static const struct gpu_ops gv11b_ops = { gv11b_mc_is_stall_and_eng_intr_pending, .reset_mask = gm20b_mc_reset_mask, .is_enabled = gm20b_mc_is_enabled, + .fb_reset = NULL, }, .debug = { .show_dump = gk20a_debug_show_dump, -- cgit v1.2.2