summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h
index acbe6a4e..f3a24f61 100644
--- a/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/hw_fifo_gm20b.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2014-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,
@@ -206,10 +206,22 @@ static inline u32 fifo_intr_en_0_r(void)
206{ 206{
207 return 0x00002140; 207 return 0x00002140;
208} 208}
209static inline u32 fifo_intr_en_0_sched_error_f(u32 v)
210{
211 return (v & 0x1) << 8;
212}
209static inline u32 fifo_intr_en_0_sched_error_m(void) 213static inline u32 fifo_intr_en_0_sched_error_m(void)
210{ 214{
211 return 0x1 << 8; 215 return 0x1 << 8;
212} 216}
217static inline u32 fifo_intr_en_0_mmu_fault_f(u32 v)
218{
219 return (v & 0x1) << 28;
220}
221static inline u32 fifo_intr_en_0_mmu_fault_m(void)
222{
223 return 0x1 << 28;
224}
213static inline u32 fifo_intr_en_1_r(void) 225static inline u32 fifo_intr_en_1_r(void)
214{ 226{
215 return 0x00002528; 227 return 0x00002528;