diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-11-06 05:58:00 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:01:44 -0400 |
commit | c3892ff917ad63ae63ad20d70f89583fb8213ce3 (patch) | |
tree | 91d4b5755f2f6a5365303cb9adbc8aed1dc63fb0 /drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |
parent | 5df3d09e16c9d2f413cea53d16bc8ca42ae42d6e (diff) |
gpu: nvgpu: gk20a: Set lockboost size for compute
For compute channel on gk20a, set lockboost size to zero.
Bug 1573856
Change-Id: I369cebf72241e4017e7d380c82caff6014e42984
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/594843
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h index 4e15af5f..1de9e794 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |||
@@ -3250,6 +3250,18 @@ static inline u32 gr_gpcs_tpcs_sm_sch_texlock_dot_t_unlock_disable_f(void) | |||
3250 | { | 3250 | { |
3251 | return 0x0; | 3251 | return 0x0; |
3252 | } | 3252 | } |
3253 | static inline u32 gr_gpcs_tpcs_sm_sch_macro_sched_r(void) | ||
3254 | { | ||
3255 | return 0x00419eac; | ||
3256 | } | ||
3257 | static inline u32 gr_gpcs_tpcs_sm_sch_macro_sched_lockboost_size_f(u32 v) | ||
3258 | { | ||
3259 | return (v & 0x1) << 2; | ||
3260 | } | ||
3261 | static inline u32 gr_gpcs_tpcs_sm_sch_macro_sched_lockboost_size_m(void) | ||
3262 | { | ||
3263 | return 0x1 << 2; | ||
3264 | } | ||
3253 | static inline u32 gr_gpcs_tpcs_sm_dbgr_control0_r(void) | 3265 | static inline u32 gr_gpcs_tpcs_sm_dbgr_control0_r(void) |
3254 | { | 3266 | { |
3255 | return 0x00419e10; | 3267 | return 0x00419e10; |