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:
67f4bf0
)
rk fb: add ion unmap for fb
author
zwl
<zwl@rockchips.com>
Mon, 26 May 2014 13:30:16 +0000
(21:30 +0800)
committer
zwl
<zwl@rockchips.com>
Mon, 26 May 2014 13:30:48 +0000
(21:30 +0800)
drivers/video/rockchip/rk_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rk_fb.c
b/drivers/video/rockchip/rk_fb.c
index 95a35919d6c67d520fffb81650557de8c3bf194d..b3cfd9192fbe9a8d1a89b42948831f1de4120d52 100755
(executable)
--- a/
drivers/video/rockchip/rk_fb.c
+++ b/
drivers/video/rockchip/rk_fb.c
@@
-1283,8
+1283,10
@@
void rk_fb_free_dma_buf(struct rk_lcdc_driver *dev_drv,struct rk_fb_reg_win_data
freed_addr[freed_index++] = area_data->smem_start;
}
#endif
- if(area_data->ion_handle != NULL)
+ if (area_data->ion_handle != NULL) {
+ ion_unmap_kernel(rk_fb->ion_client, area_data->ion_handle);
ion_free(rk_fb->ion_client, area_data->ion_handle);
+ }
if(area_data->acq_fence) {
sync_fence_put(area_data->acq_fence);
}