diff options
author | Seema Khowala <seemaj@nvidia.com> | 2018-01-19 17:47:47 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-31 16:23:21 -0500 |
commit | 9beefc45516097db2eabf2887ff66d3334ff9fde (patch) | |
tree | c2b390e4b6ebfb642c87af423a22290561fc60bf /drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h | |
parent | 8e523a9a53088cd6b8645ab2b9ea8b3cd7cd5e9d (diff) |
gpu: nvgpu: add fecs_host_int_enable hal
This will be used to enable fecs interrupts per
chip.
Change-Id: Id99412ca1a9c4caad999c3458b0e9701515db4b9
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1642554
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h index f40c7585..a4bcce42 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h | |||
@@ -1988,6 +1988,18 @@ static inline u32 gr_fecs_host_int_enable_watchdog_enable_f(void) | |||
1988 | { | 1988 | { |
1989 | return 0x80000U; | 1989 | return 0x80000U; |
1990 | } | 1990 | } |
1991 | static inline u32 gr_fecs_host_int_enable_flush_when_busy_enable_f(void) | ||
1992 | { | ||
1993 | return 0x100000U; | ||
1994 | } | ||
1995 | static inline u32 gr_fecs_host_int_enable_ecc_corrected_enable_f(void) | ||
1996 | { | ||
1997 | return 0x200000U; | ||
1998 | } | ||
1999 | static inline u32 gr_fecs_host_int_enable_ecc_uncorrected_enable_f(void) | ||
2000 | { | ||
2001 | return 0x400000U; | ||
2002 | } | ||
1991 | static inline u32 gr_fecs_ctxsw_reset_ctl_r(void) | 2003 | static inline u32 gr_fecs_ctxsw_reset_ctl_r(void) |
1992 | { | 2004 | { |
1993 | return 0x00409614U; | 2005 | return 0x00409614U; |