summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/fifo_gp106.h
diff options
context:
space:
mode:
authorVinod G <vinodg@nvidia.com>2018-04-27 12:33:07 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-05-04 02:57:12 -0400
commit010439ba08891ce97c53c239b5bb8c4a2f5b5f01 (patch)
tree0f7b6fdf83176183ddb9ee24e71e652a31528314 /drivers/gpu/nvgpu/gp106/fifo_gp106.h
parent76597927e4059fd763949f633ef4f8f412e45f6b (diff)
gpu: nvgpu: add HALs to mmu fault descriptors.
mmu fault information for client and gpc differ on various chip. Add separate table for each chip based on that change and add hal functions to access those descriptors. bug 2050564 Change-Id: If15a4757762569d60d4ce1a6a47b8c9a93c11cb0 Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1704105 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/fifo_gp106.h')
-rw-r--r--drivers/gpu/nvgpu/gp106/fifo_gp106.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/fifo_gp106.h b/drivers/gpu/nvgpu/gp106/fifo_gp106.h
index 37b3f3e7..a6436a1b 100644
--- a/drivers/gpu/nvgpu/gp106/fifo_gp106.h
+++ b/drivers/gpu/nvgpu/gp106/fifo_gp106.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -23,5 +23,9 @@
23#ifndef NVGPU_FIFO_GP106_H 23#ifndef NVGPU_FIFO_GP106_H
24#define NVGPU_FIFO_GP106_H 24#define NVGPU_FIFO_GP106_H
25struct gk20a; 25struct gk20a;
26struct mmu_fault_info;
27
26u32 gp106_fifo_get_num_fifos(struct gk20a *g); 28u32 gp106_fifo_get_num_fifos(struct gk20a *g);
29void gp106_fifo_get_mmu_fault_client_desc(struct mmu_fault_info *mmfault);
30void gp106_fifo_get_mmu_fault_gpc_desc(struct mmu_fault_info *mmfault);
27#endif 31#endif