summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b
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/gm20b
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/gm20b')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c2
1 files changed, 1 insertions, 1 deletions
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 = {
330 .set_debug_mode = gm20b_gr_set_debug_mode, 330 .set_debug_mode = gm20b_gr_set_debug_mode,
331 }, 331 },
332 .fb = { 332 .fb = {
333 .reset = gm20b_fb_reset,
334 .init_hw = gm20b_fb_init_hw, 333 .init_hw = gm20b_fb_init_hw,
335 .init_fs_state = fb_gm20b_init_fs_state, 334 .init_fs_state = fb_gm20b_init_fs_state,
336 .set_mmu_page_size = gm20b_fb_set_mmu_page_size, 335 .set_mmu_page_size = gm20b_fb_set_mmu_page_size,
@@ -594,6 +593,7 @@ static const struct gpu_ops gm20b_ops = {
594 .log_pending_intrs = gm20b_mc_log_pending_intrs, 593 .log_pending_intrs = gm20b_mc_log_pending_intrs,
595 .reset_mask = gm20b_mc_reset_mask, 594 .reset_mask = gm20b_mc_reset_mask,
596 .is_enabled = gm20b_mc_is_enabled, 595 .is_enabled = gm20b_mc_is_enabled,
596 .fb_reset = gm20b_mc_fb_reset,
597 }, 597 },
598 .debug = { 598 .debug = {
599 .show_dump = gk20a_debug_show_dump, 599 .show_dump = gk20a_debug_show_dump,