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/gm20b/hal_gm20b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gm20b') diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c index 1037b11b..e4f1984a 100644 --- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c @@ -330,7 +330,6 @@ static const struct gpu_ops gm20b_ops = { .set_debug_mode = gm20b_gr_set_debug_mode, }, .fb = { - .reset = gm20b_fb_reset, .init_hw = gm20b_fb_init_hw, .init_fs_state = fb_gm20b_init_fs_state, .set_mmu_page_size = gm20b_fb_set_mmu_page_size, @@ -594,6 +593,7 @@ static const struct gpu_ops gm20b_ops = { .log_pending_intrs = gm20b_mc_log_pending_intrs, .reset_mask = gm20b_mc_reset_mask, .is_enabled = gm20b_mc_is_enabled, + .fb_reset = gm20b_mc_fb_reset, }, .debug = { .show_dump = gk20a_debug_show_dump, -- cgit v1.2.2