dma-buf: rk-debug: update namespace get_each_dmabuf to dma_buf_get_each
Change-Id: I6daaf1b5dd661c8545acdd52d215cd3548fe848e Signed-off-by: Simon Xue <xxm@rock-chips.com>
This commit is contained in:
parent
77a20bac76
commit
0004c2dd16
3 changed files with 5 additions and 5 deletions
|
|
@ -613,7 +613,7 @@ static int rk_dma_heap_debug_show(struct seq_file *s, void *unused)
|
|||
mutex_lock(&rk_heap_list_lock);
|
||||
list_for_each_entry(heap, &rk_heap_list, list) {
|
||||
heap->s = s;
|
||||
get_each_dmabuf(rk_dma_heap_dump_dmabuf, heap);
|
||||
dma_buf_get_each(rk_dma_heap_dump_dmabuf, heap);
|
||||
rk_dma_heap_dump_contig(heap);
|
||||
total += heap->total_size;
|
||||
}
|
||||
|
|
@ -662,7 +662,7 @@ static int rk_dma_heap_proc_show(struct seq_file *s, void *unused)
|
|||
mutex_lock(&rk_heap_list_lock);
|
||||
list_for_each_entry(heap, &rk_heap_list, list) {
|
||||
heap->s = s;
|
||||
get_each_dmabuf(rk_dma_heap_dump_dmabuf, heap);
|
||||
dma_buf_get_each(rk_dma_heap_dump_dmabuf, heap);
|
||||
rk_dma_heap_dump_contig(heap);
|
||||
total += heap->total_size;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ config RK_DMABUF_PROCFS
|
|||
depends on PROC_FS
|
||||
help
|
||||
Turns on this to create a procfs debug interface for dma-buf, support
|
||||
get information from db_list by get_each_dmabuf.
|
||||
get information from db_list by dma_buf_get_each.
|
||||
|
||||
If unsure, say "N".
|
||||
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ static int rk_dmabuf_sgt_show(struct seq_file *s, void *v)
|
|||
seq_printf(s, "%16s %-16s %-16s %14s %8s\n\n",
|
||||
"DMABUF", "NAME", "EXPORT", "SIZE:KiB", "SGLIST");
|
||||
|
||||
return get_each_dmabuf(rk_dmabuf_cb, s);
|
||||
return dma_buf_get_each(rk_dmabuf_cb, s);
|
||||
}
|
||||
|
||||
static int rk_dmabuf_dev_show(struct seq_file *s, void *v)
|
||||
|
|
@ -126,7 +126,7 @@ static int rk_dmabuf_dev_show(struct seq_file *s, void *v)
|
|||
seq_printf(s, "%16s %-16s %-16s %14s %8s\n\n",
|
||||
"DMABUF", "NAME", "EXPORT", "SIZE:KiB", "AttachedDevices");
|
||||
|
||||
return get_each_dmabuf(rk_dmabuf_cb3, s);
|
||||
return dma_buf_get_each(rk_dmabuf_cb3, s);
|
||||
}
|
||||
|
||||
static int rk_dmabuf_size_show(struct seq_file *s, void *v)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue