summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106
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/gp106
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/gp106')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index 23a2177c..37d0e91e 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -406,9 +406,8 @@ static const struct gpu_ops gp106_ops = {
406 .set_debug_mode = gm20b_gr_set_debug_mode, 406 .set_debug_mode = gm20b_gr_set_debug_mode,
407 }, 407 },
408 .fb = { 408 .fb = {
409 .reset = gp106_fb_reset,
410 .init_hw = gm20b_fb_init_hw, 409 .init_hw = gm20b_fb_init_hw,
411 .init_fs_state = NULL, 410 .init_fs_state = gp106_fb_init_fs_state,
412 .set_mmu_page_size = gm20b_fb_set_mmu_page_size, 411 .set_mmu_page_size = gm20b_fb_set_mmu_page_size,
413 .set_use_full_comp_tag_line = 412 .set_use_full_comp_tag_line =
414 gm20b_fb_set_use_full_comp_tag_line, 413 gm20b_fb_set_use_full_comp_tag_line,
@@ -722,6 +721,7 @@ static const struct gpu_ops gp106_ops = {
722 .log_pending_intrs = mc_gp10b_log_pending_intrs, 721 .log_pending_intrs = mc_gp10b_log_pending_intrs,
723 .reset_mask = gm20b_mc_reset_mask, 722 .reset_mask = gm20b_mc_reset_mask,
724 .is_enabled = gm20b_mc_is_enabled, 723 .is_enabled = gm20b_mc_is_enabled,
724 .fb_reset = NULL,
725 }, 725 },
726 .debug = { 726 .debug = {
727 .show_dump = gk20a_debug_show_dump, 727 .show_dump = gk20a_debug_show_dump,