diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 12 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.h | 7 |
2 files changed, 13 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index 057dea03..4327e087 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -1161,12 +1161,12 @@ int gr_gv11b_calc_global_ctx_buffer_size(struct gk20a *g) | |||
1161 | return size; | 1161 | return size; |
1162 | } | 1162 | } |
1163 | 1163 | ||
1164 | static void gr_gv11b_set_go_idle_timeout(struct gk20a *g, u32 data) | 1164 | void gr_gv11b_set_go_idle_timeout(struct gk20a *g, u32 data) |
1165 | { | 1165 | { |
1166 | gk20a_writel(g, gr_fe_go_idle_timeout_r(), data); | 1166 | gk20a_writel(g, gr_fe_go_idle_timeout_r(), data); |
1167 | } | 1167 | } |
1168 | 1168 | ||
1169 | static void gr_gv11b_set_coalesce_buffer_size(struct gk20a *g, u32 data) | 1169 | void gr_gv11b_set_coalesce_buffer_size(struct gk20a *g, u32 data) |
1170 | { | 1170 | { |
1171 | u32 val; | 1171 | u32 val; |
1172 | 1172 | ||
@@ -1180,7 +1180,7 @@ static void gr_gv11b_set_coalesce_buffer_size(struct gk20a *g, u32 data) | |||
1180 | nvgpu_log_fn(g, "done"); | 1180 | nvgpu_log_fn(g, "done"); |
1181 | } | 1181 | } |
1182 | 1182 | ||
1183 | static void gr_gv11b_set_tex_in_dbg(struct gk20a *g, u32 data) | 1183 | void gr_gv11b_set_tex_in_dbg(struct gk20a *g, u32 data) |
1184 | { | 1184 | { |
1185 | u32 val; | 1185 | u32 val; |
1186 | bool flag; | 1186 | bool flag; |
@@ -1205,7 +1205,7 @@ static void gr_gv11b_set_tex_in_dbg(struct gk20a *g, u32 data) | |||
1205 | gk20a_writel(g, gr_gpcs_tpcs_sm_l1tag_ctrl_r(), val); | 1205 | gk20a_writel(g, gr_gpcs_tpcs_sm_l1tag_ctrl_r(), val); |
1206 | } | 1206 | } |
1207 | 1207 | ||
1208 | static void gr_gv11b_set_skedcheck(struct gk20a *g, u32 data) | 1208 | void gr_gv11b_set_skedcheck(struct gk20a *g, u32 data) |
1209 | { | 1209 | { |
1210 | u32 reg_val; | 1210 | u32 reg_val; |
1211 | 1211 | ||
@@ -1229,7 +1229,7 @@ static void gr_gv11b_set_skedcheck(struct gk20a *g, u32 data) | |||
1229 | 1229 | ||
1230 | } | 1230 | } |
1231 | 1231 | ||
1232 | static void gv11b_gr_set_shader_exceptions(struct gk20a *g, u32 data) | 1232 | void gv11b_gr_set_shader_exceptions(struct gk20a *g, u32 data) |
1233 | { | 1233 | { |
1234 | nvgpu_log_fn(g, " "); | 1234 | nvgpu_log_fn(g, " "); |
1235 | 1235 | ||
@@ -1243,7 +1243,7 @@ static void gv11b_gr_set_shader_exceptions(struct gk20a *g, u32 data) | |||
1243 | } | 1243 | } |
1244 | } | 1244 | } |
1245 | 1245 | ||
1246 | static void gr_gv11b_set_shader_cut_collector(struct gk20a *g, u32 data) | 1246 | void gr_gv11b_set_shader_cut_collector(struct gk20a *g, u32 data) |
1247 | { | 1247 | { |
1248 | u32 val; | 1248 | u32 val; |
1249 | 1249 | ||
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h index f799ccfe..9c680827 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h | |||
@@ -251,4 +251,11 @@ int gr_gv11b_create_priv_addr_table(struct gk20a *g, | |||
251 | u32 *num_registers); | 251 | u32 *num_registers); |
252 | u32 gr_gv11b_get_nonpes_aware_tpc(struct gk20a *g, u32 gpc, u32 tpc); | 252 | u32 gr_gv11b_get_nonpes_aware_tpc(struct gk20a *g, u32 gpc, u32 tpc); |
253 | void gr_gv11b_powergate_tpc(struct gk20a *g); | 253 | void gr_gv11b_powergate_tpc(struct gk20a *g); |
254 | |||
255 | void gr_gv11b_set_shader_cut_collector(struct gk20a *g, u32 data); | ||
256 | void gv11b_gr_set_shader_exceptions(struct gk20a *g, u32 data); | ||
257 | void gr_gv11b_set_skedcheck(struct gk20a *g, u32 data); | ||
258 | void gr_gv11b_set_go_idle_timeout(struct gk20a *g, u32 data); | ||
259 | void gr_gv11b_set_coalesce_buffer_size(struct gk20a *g, u32 data); | ||
260 | void gr_gv11b_set_tex_in_dbg(struct gk20a *g, u32 data); | ||
254 | #endif | 261 | #endif |