mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
video/rockchip: rga2: fix error page on cache flush
Change-Id: Ic23e0f6c25f68c28a87f4e4ef459bda56d4990ba Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
@@ -366,8 +366,7 @@ static int rga2_MapUserMemory(struct page **pages, uint32_t *pageTable,
|
||||
<< PAGE_SHIFT)) & ~PAGE_MASK));
|
||||
pte_unmap_unlock(pte, ptl);
|
||||
pageTable[i] = (uint32_t)Address;
|
||||
|
||||
rga_dma_flush_page(pages[i]);
|
||||
rga_dma_flush_page(pfn_to_page(pfn));
|
||||
}
|
||||
up_read(¤t->mm->mmap_sem);
|
||||
return status;
|
||||
|
||||
Reference in New Issue
Block a user