diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-09-08 01:16:18 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:14 -0400 |
commit | 27b94dfafdb0903981ebc437abda85ffdb828668 (patch) | |
tree | c57175fa32d7e1099c9008a5640273611f19ef9e /drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h | |
parent | 20f9424705258fdb0c34d0df352c2b81fa858c2d (diff) |
gpu: nvgpu: Disable illegal compstat access intr
Disable illegal compstat access interrupt. We access compstat backing
store to handle CDE swizzling.
Also change the magic number for evicted_cb to use a generated value.
Change-Id: I79b299abbffcb90497690ba4fc55d8517a3dbd87
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/496444
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Jussi Rasanen <jrasanen@nvidia.com>
Tested-by: Jussi Rasanen <jrasanen@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h index 8cef53d6..467bd665 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h | |||
@@ -278,6 +278,10 @@ static inline u32 ltc_ltcs_ltss_intr_en_evicted_cb_m(void) | |||
278 | { | 278 | { |
279 | return 0x1 << 20; | 279 | return 0x1 << 20; |
280 | } | 280 | } |
281 | static inline u32 ltc_ltcs_ltss_intr_en_illegal_compstat_access_m(void) | ||
282 | { | ||
283 | return 0x1 << 30; | ||
284 | } | ||
281 | static inline u32 ltc_ltc0_lts0_intr_r(void) | 285 | static inline u32 ltc_ltc0_lts0_intr_r(void) |
282 | { | 286 | { |
283 | return 0x0014040c; | 287 | return 0x0014040c; |