summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
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:25 -0400
commite3ae03e17abd452c157545234348692364b4b9f6 (patch)
tree121b3dcde56c87f9a1008ad4f5effbeb69cff945 /drivers/gpu/nvgpu/gm20b/hal_gm20b.c
parent78e3d22da3c2513d425c8c2560468ce854a982dd (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/gm20b/hal_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index 55c96274..1037b11b 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -592,6 +592,8 @@ static const struct gpu_ops gm20b_ops = {
592 .reset = gm20b_mc_reset, 592 .reset = gm20b_mc_reset,
593 .is_intr1_pending = gm20b_mc_is_intr1_pending, 593 .is_intr1_pending = gm20b_mc_is_intr1_pending,
594 .log_pending_intrs = gm20b_mc_log_pending_intrs, 594 .log_pending_intrs = gm20b_mc_log_pending_intrs,
595 .reset_mask = gm20b_mc_reset_mask,
596 .is_enabled = gm20b_mc_is_enabled,
595 }, 597 },
596 .debug = { 598 .debug = {
597 .show_dump = gk20a_debug_show_dump, 599 .show_dump = gk20a_debug_show_dump,