OSDN Git Service

drm_hwcomposer: initialize timeline_next
authorAllen Martin <amartin@nvidia.com>
Sun, 22 Feb 2015 13:18:56 +0000 (05:18 -0800)
committerSean Paul <seanpaul@google.com>
Sun, 22 Feb 2015 13:37:53 +0000 (13:37 +0000)
Initialize timeline_next to 0

Change-Id: I5d9f051ac659b06be19f5e5eaaab8a665f10832c
Reviewed-on: https://chrome-internal-review.googlesource.com/200646
Reviewed-by: Sean Paul <seanpaul@google.com>
Commit-Queue: Sean Paul <seanpaul@google.com>
Tested-by: Sean Paul <seanpaul@google.com>
hwcomposer.cpp

index 12b3e04..1c2b8b2 100644 (file)
@@ -1194,6 +1194,7 @@ static int hwc_initialize_display(struct hwc_context_t *ctx, int display,
                return ret;
        }
        hd->timeline_fd = ret;
+       hd->timeline_next = 0;
 
        ret = hwc_set_initial_config(hd);
        if (ret) {