rk fb: sync with hwc when wait at fb

This commit is contained in:
hjc
2014-05-20 12:13:58 +08:00
parent abec95fe27
commit 5ee3dd9a45

View File

@@ -1279,6 +1279,9 @@ void rk_fb_free_dma_buf(struct rk_lcdc_driver *dev_drv,struct rk_fb_reg_win_data
#endif
if(area_data->ion_handle != NULL)
ion_free(rk_fb->ion_client, area_data->ion_handle);
if(area_data->acq_fence) {
sync_fence_put(area_data->acq_fence);
}
}
memset(reg_win_data, 0, sizeof(struct rk_fb_reg_win_data));
}