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>
Sat, 9 May 2015 07:09:06 +0000 (15:09 +0800)
Signed-off-by: hjc <hjc@rock-chips.com>
drivers/video/rockchip/rk_fb.c

index 928032481aa331718651415a1b90c657148443ee..53804baaa5b51a40fab7c7401e1cce4f95a48ab3 100644 (file)
@@ -2167,6 +2167,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;
        }