summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/hw_fifo_gv11b.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2016-10-17 13:26:25 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-10-21 16:44:04 -0400
commit2fd1ee0ca784e4235766601d6a7ef52ba1f0c519 (patch)
treef1a01d1abf418d0f0a8a5d3fe58f3928c2bc13bc /drivers/gpu/nvgpu/gv11b/hw_fifo_gv11b.h
parent35d2db64e28df6d65fed381c793f0954eed5eb7b (diff)
gpu: nvgpu: gv11b: update ramfc
Updated ramfc: - To include channel veid info - Set valid context bit - Enabled userd writeback JIRA GV11B-11 Change-Id: I0e8c62fe0dee02071b0ca60f157151038ab5c09b Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1237764 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/hw_fifo_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/hw_fifo_gv11b.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hw_fifo_gv11b.h b/drivers/gpu/nvgpu/gv11b/hw_fifo_gv11b.h
index 7e9e2743..8ea2e06a 100644
--- a/drivers/gpu/nvgpu/gv11b/hw_fifo_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/hw_fifo_gv11b.h
@@ -70,6 +70,34 @@ static inline u32 fifo_bar1_base_valid_true_f(void)
70{ 70{
71 return 0x10000000; 71 return 0x10000000;
72} 72}
73static inline u32 fifo_userd_writeback_r(void)
74{
75 return 0x0000225c;
76}
77static inline u32 fifo_userd_writeback_timer_f(u32 v)
78{
79 return (v & 0xff) << 0;
80}
81static inline u32 fifo_userd_writeback_timer_disabled_v(void)
82{
83 return 0x00000000;
84}
85static inline u32 fifo_userd_writeback_timer_shorter_v(void)
86{
87 return 0x00000003;
88}
89static inline u32 fifo_userd_writeback_timer_100us_v(void)
90{
91 return 0x00000064;
92}
93static inline u32 fifo_userd_writeback_timescale_f(u32 v)
94{
95 return (v & 0xf) << 12;
96}
97static inline u32 fifo_userd_writeback_timescale_0_v(void)
98{
99 return 0x00000000;
100}
73static inline u32 fifo_runlist_base_r(void) 101static inline u32 fifo_runlist_base_r(void)
74{ 102{
75 return 0x00002270; 103 return 0x00002270;