diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 3 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index c2a8d6ce..e3b37747 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -244,7 +244,8 @@ struct gpu_ops { | |||
244 | u32 addr, int *addr_type, | 244 | u32 addr, int *addr_type, |
245 | u32 *gpc_num, u32 *tpc_num, u32 *broadcast_flags); | 245 | u32 *gpc_num, u32 *tpc_num, u32 *broadcast_flags); |
246 | void (*egpc_etpc_priv_addr_table)(struct gk20a *g, u32 addr, | 246 | void (*egpc_etpc_priv_addr_table)(struct gk20a *g, u32 addr, |
247 | u32 gpc, u32 broadcast_flags, u32 *priv_addr_table, | 247 | u32 gpc, u32 tpc, u32 broadcast_flags, |
248 | u32 *priv_addr_table, | ||
248 | u32 *priv_addr_table_index); | 249 | u32 *priv_addr_table_index); |
249 | bool (*is_tpc_addr)(struct gk20a *g, u32 addr); | 250 | bool (*is_tpc_addr)(struct gk20a *g, u32 addr); |
250 | bool (*is_egpc_addr)(struct gk20a *g, u32 addr); | 251 | bool (*is_egpc_addr)(struct gk20a *g, u32 addr); |
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index e4344b9f..96bc72af 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -6421,7 +6421,7 @@ int gr_gk20a_create_priv_addr_table(struct gk20a *g, | |||
6421 | (addr_type == CTXSW_ADDR_TYPE_ETPC)) && | 6421 | (addr_type == CTXSW_ADDR_TYPE_ETPC)) && |
6422 | g->ops.gr.egpc_etpc_priv_addr_table) { | 6422 | g->ops.gr.egpc_etpc_priv_addr_table) { |
6423 | gk20a_dbg(gpu_dbg_gpu_dbg, "addr_type : EGPC/ETPC"); | 6423 | gk20a_dbg(gpu_dbg_gpu_dbg, "addr_type : EGPC/ETPC"); |
6424 | g->ops.gr.egpc_etpc_priv_addr_table(g, addr, gpc_num, | 6424 | g->ops.gr.egpc_etpc_priv_addr_table(g, addr, gpc_num, tpc_num, |
6425 | broadcast_flags, priv_addr_table, &t); | 6425 | broadcast_flags, priv_addr_table, &t); |
6426 | } else if (broadcast_flags & PRI_BROADCAST_FLAGS_LTSS) { | 6426 | } else if (broadcast_flags & PRI_BROADCAST_FLAGS_LTSS) { |
6427 | g->ops.gr.split_lts_broadcast_addr(g, addr, | 6427 | g->ops.gr.split_lts_broadcast_addr(g, addr, |