diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-09-12 17:51:40 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-27 18:05:34 -0400 |
commit | f89ea110417e1c83cf21f495d6da7cdc8138a29f (patch) | |
tree | 198f25d08d650e5a42470eb1823b441c07d8b71f /drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |
parent | e3ae03e17abd452c157545234348692364b4b9f6 (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/gv11b/hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { | |||
430 | .set_debug_mode = gm20b_gr_set_debug_mode, | 430 | .set_debug_mode = gm20b_gr_set_debug_mode, |
431 | }, | 431 | }, |
432 | .fb = { | 432 | .fb = { |
433 | .reset = gv11b_fb_reset, | ||
434 | .init_hw = gv11b_fb_init_hw, | 433 | .init_hw = gv11b_fb_init_hw, |
435 | .init_fs_state = gv11b_fb_init_fs_state, | 434 | .init_fs_state = gv11b_fb_init_fs_state, |
436 | .init_cbc = gv11b_fb_init_cbc, | 435 | .init_cbc = gv11b_fb_init_cbc, |
@@ -761,6 +760,7 @@ static const struct gpu_ops gv11b_ops = { | |||
761 | gv11b_mc_is_stall_and_eng_intr_pending, | 760 | gv11b_mc_is_stall_and_eng_intr_pending, |
762 | .reset_mask = gm20b_mc_reset_mask, | 761 | .reset_mask = gm20b_mc_reset_mask, |
763 | .is_enabled = gm20b_mc_is_enabled, | 762 | .is_enabled = gm20b_mc_is_enabled, |
763 | .fb_reset = NULL, | ||
764 | }, | 764 | }, |
765 | .debug = { | 765 | .debug = { |
766 | .show_dump = gk20a_debug_show_dump, | 766 | .show_dump = gk20a_debug_show_dump, |