diff options
author | Bo Yan <byan@nvidia.com> | 2014-04-18 20:22:38 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:41 -0400 |
commit | 824e256c2af97a325475a3601cde0f3d6e3fc2a3 (patch) | |
tree | e74f9c71cb5130a3529ed5817a077a2047106aba /drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h | |
parent | c66d70c8699b948da5ca22501a29643c31b5348a (diff) |
gnu: nvgpu: gm20b: CBC clean and invalidate
the CBC clean and invalidate is done for gk20a for bug 1409151, now
it's time to do the same fo gm20b. the text of this change is
strictly copied from gk20a, simply to make build pass.
Change-Id: Id717cb1e2ca0fa3f8483c3fd40d7629a9cc85ec9
Signed-off-by: Bo Yan <byan@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h index 38a3121f..28c58f50 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_ltc_gm20b.h | |||
@@ -94,6 +94,14 @@ static inline u32 ltc_ltcs_ltss_cbc_ctrl1_r(void) | |||
94 | { | 94 | { |
95 | return 0x0017e26c; | 95 | return 0x0017e26c; |
96 | } | 96 | } |
97 | static inline u32 ltc_ltcs_ltss_cbc_ctrl1_clean_active_f(void) | ||
98 | { | ||
99 | return 0x1; | ||
100 | } | ||
101 | static inline u32 ltc_ltcs_ltss_cbc_ctrl1_invalidate_active_f(void) | ||
102 | { | ||
103 | return 0x2; | ||
104 | } | ||
97 | static inline u32 ltc_ltcs_ltss_cbc_ctrl1_clear_v(u32 r) | 105 | static inline u32 ltc_ltcs_ltss_cbc_ctrl1_clear_v(u32 r) |
98 | { | 106 | { |
99 | return (r >> 2) & 0x1; | 107 | return (r >> 2) & 0x1; |