rk fb: set retire fence fd to -1 when ignore this frame
authorhjc <hjc@rock-chips.com>
Mon, 13 Apr 2015 01:39:50 +0000 (09:39 +0800)
committerhjc <hjc@rock-chips.com>
Mon, 13 Apr 2015 01:39:50 +0000 (09:39 +0800)
Signed-off-by: hjc <hjc@rock-chips.com>
drivers/video/rockchip/rk_fb.c

index 9818c3a7367eff497f5e6e7325528dae4ae85442..b663a6ea5a9643d6436efe204e7cfd5cf5551af1 100755 (executable)
@@ -2189,6 +2189,7 @@ static int rk_fb_set_win_config(struct fb_info *info,
                        pr_err("error config ,ignore\n");
                for (j = 0; j < RK_MAX_BUF_NUM; j++)
                        win_data->rel_fence_fd[j] = -1;
+               win_data->ret_fence_fd = -1;
                return 0;
        }