summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h
index 757ae3f0..a131972e 100644
--- a/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/hw_fifo_gk20a.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2012-2014, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2012-2015, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -246,10 +246,22 @@ static inline u32 fifo_intr_en_0_r(void)
246{ 246{
247 return 0x00002140; 247 return 0x00002140;
248} 248}
249static inline u32 fifo_intr_en_0_sched_error_f(u32 v)
250{
251 return (v & 0x1) << 8;
252}
249static inline u32 fifo_intr_en_0_sched_error_m(void) 253static inline u32 fifo_intr_en_0_sched_error_m(void)
250{ 254{
251 return 0x1 << 8; 255 return 0x1 << 8;
252} 256}
257static inline u32 fifo_intr_en_0_mmu_fault_f(u32 v)
258{
259 return (v & 0x1) << 28;
260}
261static inline u32 fifo_intr_en_0_mmu_fault_m(void)
262{
263 return 0x1 << 28;
264}
253static inline u32 fifo_intr_en_1_r(void) 265static inline u32 fifo_intr_en_1_r(void)
254{ 266{
255 return 0x00002528; 267 return 0x00002528;