summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2018-09-12 17:51:40 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-27 18:05:34 -0400
commitf89ea110417e1c83cf21f495d6da7cdc8138a29f (patch)
tree198f25d08d650e5a42470eb1823b441c07d8b71f /drivers/gpu/nvgpu/gp10b
parente3ae03e17abd452c157545234348692364b4b9f6 (diff)
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 <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1823385 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hal_gp10b.c2
1 files changed, 1 insertions, 1 deletions
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 = {
367 .set_debug_mode = gm20b_gr_set_debug_mode, 367 .set_debug_mode = gm20b_gr_set_debug_mode,
368 }, 368 },
369 .fb = { 369 .fb = {
370 .reset = gm20b_fb_reset,
371 .init_hw = gm20b_fb_init_hw, 370 .init_hw = gm20b_fb_init_hw,
372 .init_fs_state = fb_gm20b_init_fs_state, 371 .init_fs_state = fb_gm20b_init_fs_state,
373 .set_mmu_page_size = gm20b_fb_set_mmu_page_size, 372 .set_mmu_page_size = gm20b_fb_set_mmu_page_size,
@@ -656,6 +655,7 @@ static const struct gpu_ops gp10b_ops = {
656 .log_pending_intrs = mc_gp10b_log_pending_intrs, 655 .log_pending_intrs = mc_gp10b_log_pending_intrs,
657 .reset_mask = gm20b_mc_reset_mask, 656 .reset_mask = gm20b_mc_reset_mask,
658 .is_enabled = gm20b_mc_is_enabled, 657 .is_enabled = gm20b_mc_is_enabled,
658 .fb_reset = gm20b_mc_fb_reset,
659 }, 659 },
660 .debug = { 660 .debug = {
661 .show_dump = gk20a_debug_show_dump, 661 .show_dump = gk20a_debug_show_dump,