hwc: Empty first read to avoid stale data at boot

When an fd is opened for the first time, poll always succeeds
without a notify from the driver. This gives us invalid data from
the driver, which actually has the right value only when it calls
sysfs_notify. Do a first read for the vsync fds to avoid this.

Change-Id: I47e7bb0a3f91ccb90b1cf36fe5e7d75de1085b62
1 file changed