diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-01-20 06:28:35 -0500 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-02-05 15:45:20 -0500 |
commit | 7b42acda56eb1fccb621f3a6cfd567d62679bdd4 (patch) | |
tree | 4a0281d280b36cbc4bc35232019fdea481190d5a /drivers/gpu/nvgpu/gm20b | |
parent | 04f4f2334e42ddf1c261e0c938949d74fbfe14a0 (diff) |
gpu: nvgpu: enable ctxsw_intr1 interrupt
Enable NV_PGRAPH_PRI_FECS_HOST_INT_ENABLE_CTXSW_INTR1
Bug 200156699
Change-Id: I170dd6998381897a4b4ca832774eb0f11f92fd86
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/935772
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h index 7a19e4ab..696f518c 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2014-2016, 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, |
@@ -946,6 +946,10 @@ static inline u32 gr_fecs_host_int_enable_r(void) | |||
946 | { | 946 | { |
947 | return 0x00409c24; | 947 | return 0x00409c24; |
948 | } | 948 | } |
949 | static inline u32 gr_fecs_host_int_enable_ctxsw_intr1_enable_f(void) | ||
950 | { | ||
951 | return 0x2; | ||
952 | } | ||
949 | static inline u32 gr_fecs_host_int_enable_fault_during_ctxsw_enable_f(void) | 953 | static inline u32 gr_fecs_host_int_enable_fault_during_ctxsw_enable_f(void) |
950 | { | 954 | { |
951 | return 0x10000; | 955 | return 0x10000; |