Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1db0e0e5 authored by Saurabh Shah's avatar Saurabh Shah Committed by android-build-merger
Browse files

Merge "sync: store the num_fences from first SYNC_IOC_FILE_INFO" am: f7d14b64

am: 53a13e57

Change-Id: Iab1bb3b899965445087338ae01fbfb05c262027f
parents 687cb99e 53a13e57
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -217,6 +217,8 @@ static struct sync_file_info *modern_sync_file_info(int fd)
                  local_info.num_fences * sizeof(struct sync_fence_info));
    if (!info)
        return NULL;

    info->num_fences = local_info.num_fences;
    info->sync_fence_info = (__u64)(uintptr_t)(info + 1);

    err = ioctl(fd, SYNC_IOC_FILE_INFO, info);