projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
473b3cd
)
video/rockchip: rga2: fix error page on cache flush
author
Mark Yao
<mark.yao@rock-chips.com>
Fri, 28 Apr 2017 01:57:54 +0000
(09:57 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Fri, 28 Apr 2017 09:48:16 +0000
(17:48 +0800)
Change-Id: Ic23e0f6c25f68c28a87f4e4ef459bda56d4990ba
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/video/rockchip/rga2/rga2_mmu_info.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rga2/rga2_mmu_info.c
b/drivers/video/rockchip/rga2/rga2_mmu_info.c
index 6ffb3b1acda01157695820f5021a800920f38737..d77a95745194ef165cec9a61cacdf1332fd31d19 100644
(file)
--- a/
drivers/video/rockchip/rga2/rga2_mmu_info.c
+++ b/
drivers/video/rockchip/rga2/rga2_mmu_info.c
@@
-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;