summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
index d8fa7505..96b94ea7 100644
--- a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
@@ -400,7 +400,7 @@ static int gk20a_fecs_trace_alloc_ring(struct gk20a *g)
400{ 400{
401 struct gk20a_fecs_trace *trace = g->fecs_trace; 401 struct gk20a_fecs_trace *trace = g->fecs_trace;
402 402
403 return gk20a_gmmu_alloc_sys(g, GK20A_FECS_TRACE_NUM_RECORDS 403 return nvgpu_dma_alloc_sys(g, GK20A_FECS_TRACE_NUM_RECORDS
404 * ctxsw_prog_record_timestamp_record_size_in_bytes_v(), 404 * ctxsw_prog_record_timestamp_record_size_in_bytes_v(),
405 &trace->trace_buf); 405 &trace->trace_buf);
406} 406}
@@ -409,7 +409,7 @@ static void gk20a_fecs_trace_free_ring(struct gk20a *g)
409{ 409{
410 struct gk20a_fecs_trace *trace = g->fecs_trace; 410 struct gk20a_fecs_trace *trace = g->fecs_trace;
411 411
412 gk20a_gmmu_free(g, &trace->trace_buf); 412 nvgpu_dma_free(g, &trace->trace_buf);
413} 413}
414 414
415#ifdef CONFIG_DEBUG_FS 415#ifdef CONFIG_DEBUG_FS