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:25 -0400 |
commit | e3ae03e17abd452c157545234348692364b4b9f6 (patch) | |
tree | 121b3dcde56c87f9a1008ad4f5effbeb69cff945 /drivers/gpu/nvgpu/gp106/hal_gp106.c | |
parent | 78e3d22da3c2513d425c8c2560468ce854a982dd (diff) |
gpu: nvgpu: Add MC APIs for reset masks
Add API for querying reset mask corresponding to a unit. The reset
masks need to be read from MC HW header, and we do not want all
units to access Mc HW headers themselves.
JIRA NVGPU-954
Change-Id: I49ebbd891569de634bfc71afcecc8cd2358805c0
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1823384
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index bbf02aab..23a2177c 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -720,6 +720,8 @@ static const struct gpu_ops gp106_ops = { | |||
720 | .reset = gm20b_mc_reset, | 720 | .reset = gm20b_mc_reset, |
721 | .is_intr1_pending = mc_gp10b_is_intr1_pending, | 721 | .is_intr1_pending = mc_gp10b_is_intr1_pending, |
722 | .log_pending_intrs = mc_gp10b_log_pending_intrs, | 722 | .log_pending_intrs = mc_gp10b_log_pending_intrs, |
723 | .reset_mask = gm20b_mc_reset_mask, | ||
724 | .is_enabled = gm20b_mc_is_enabled, | ||
723 | }, | 725 | }, |
724 | .debug = { | 726 | .debug = { |
725 | .show_dump = gk20a_debug_show_dump, | 727 | .show_dump = gk20a_debug_show_dump, |