summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-04-09 06:33:31 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:09:06 -0400
commit3df84a13d142b20f63970b9523143dd0e46c2ff9 (patch)
tree262f8b11454349ea46a28ca808a43d673f934743 /drivers/gpu/nvgpu/gk20a/channel_gk20a.c
parent542f729aa9ea9c5eb845c35d855e3925f45ab24f (diff)
gpu: nvgpu: Make trigger mmu fault GPU specific
Add abstraction for triggering fake MMU fault, and a gk20a implementation. Also adds recovery to FE hardware warning exception to make testing easier. Bug 1495967 Change-Id: I6703cff37900a4c4592023423f9c0b31a8928db2 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index 6056f558..4cce7260 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -1953,7 +1953,7 @@ clean_up:
1953 return ret; 1953 return ret;
1954} 1954}
1955 1955
1956void gk20a_init_fifo(struct gpu_ops *gops) 1956void gk20a_init_channel(struct gpu_ops *gops)
1957{ 1957{
1958 gops->fifo.bind_channel = channel_gk20a_bind; 1958 gops->fifo.bind_channel = channel_gk20a_bind;
1959} 1959}