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/gp10b/hal_gp10b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gp10b') diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index 0a285a95..b7ad9743 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c @@ -367,7 +367,6 @@ static const struct gpu_ops gp10b_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, @@ -656,6 +655,7 @@ static const struct gpu_ops gp10b_ops = { .log_pending_intrs = mc_gp10b_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