mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
Revert "dma-buf: heaps: system_heap: fix partial sync contition error"
This reverts commit e165028391.
Use rk_system_heap.c instead of system_heap.c now, reverts all changes.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Iaa80d3480d2e039cdd530e3278035c84553d07e7
This commit is contained in:
@@ -283,7 +283,7 @@ system_heap_dma_buf_begin_cpu_access_partial(struct dma_buf *dmabuf,
|
||||
if (buffer->vmap_cnt)
|
||||
invalidate_kernel_vmap_range(buffer->vaddr, buffer->len);
|
||||
|
||||
if (buffer->uncached)
|
||||
if (!buffer->uncached)
|
||||
goto unlock;
|
||||
|
||||
list_for_each_entry(a, &buffer->attachments, list) {
|
||||
@@ -325,7 +325,7 @@ system_heap_dma_buf_end_cpu_access_partial(struct dma_buf *dmabuf,
|
||||
if (buffer->vmap_cnt)
|
||||
flush_kernel_vmap_range(buffer->vaddr, buffer->len);
|
||||
|
||||
if (buffer->uncached)
|
||||
if (!buffer->uncached)
|
||||
goto unlock;
|
||||
|
||||
list_for_each_entry(a, &buffer->attachments, list) {
|
||||
|
||||
Reference in New Issue
Block a user