int count = 100;
unsigned int dsp_addr[4];
long timeout;
+
+ /* acq_fence wait */
+ for (i = 0; i < regs->win_num; i++) {
+ win_data = ®s->reg_win_data[i];
+ for (j = 0; j < RK_WIN_MAX_AREA; j++) {
+ if (win_data->reg_area_data[j].acq_fence) {
+ /* printk("acq_fence wait!!!!!\n"); */
+ rk_fd_fence_wait(dev_drv, win_data->reg_area_data[j].acq_fence);
+ }
+ }
+ }
+
for (i = 0; i < dev_drv->lcdc_win_num; i++) {
win = dev_drv->win[i];
win_data = rk_fb_get_win_data(regs, i);
{
struct rk_lcdc_driver *dev_drv = (struct rk_lcdc_driver *)info->par;
struct rk_fb_reg_data *regs;
- struct rk_fb_reg_win_data *reg_win_data;
#ifdef H_USE_FENCE
struct sync_fence *release_fence[RK_MAX_BUF_NUM];
struct sync_fence *retire_fence;
win_data->win_par[i].win_id);
}
}
- for (i = 0; i < regs->win_num; i++) {
- reg_win_data = ®s->reg_win_data[i];
- for (j = 0; j < RK_WIN_MAX_AREA; j++) {
- if (reg_win_data->reg_area_data[j].acq_fence) {
- /* printk("acq_fence wait!!!!!\n"); */
- rk_fd_fence_wait(dev_drv, reg_win_data->reg_area_data[j].acq_fence);
- }
- }
- }
mutex_lock(&dev_drv->output_lock);
if (!(dev_drv->suspend_flag == 0)) {