mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
rk fb: add ion unmap for fb
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user