diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ltc_gv100.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ltc_gv100.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ltc_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ltc_gv100.h index 3543f0b7..042cb7d1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ltc_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ltc_gv100.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2017-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"), |
@@ -364,6 +364,18 @@ static inline u32 ltc_ltcs_ltss_intr_en_evicted_cb_m(void) | |||
364 | { | 364 | { |
365 | return 0x1U << 20U; | 365 | return 0x1U << 20U; |
366 | } | 366 | } |
367 | static inline u32 ltc_ltcs_ltss_intr_en_illegal_compstat_m(void) | ||
368 | { | ||
369 | return 0x1U << 21U; | ||
370 | } | ||
371 | static inline u32 ltc_ltcs_ltss_intr_en_illegal_compstat_enabled_f(void) | ||
372 | { | ||
373 | return 0x200000U; | ||
374 | } | ||
375 | static inline u32 ltc_ltcs_ltss_intr_en_illegal_compstat_disabled_f(void) | ||
376 | { | ||
377 | return 0x0U; | ||
378 | } | ||
367 | static inline u32 ltc_ltcs_ltss_intr_en_illegal_compstat_access_m(void) | 379 | static inline u32 ltc_ltcs_ltss_intr_en_illegal_compstat_access_m(void) |
368 | { | 380 | { |
369 | return 0x1U << 30U; | 381 | return 0x1U << 30U; |