| commit | 78c74f33b8f8e04583a37d9fadba1974df4293fd | [log] [tgz] |
|---|---|---|
| author | Midas Chien <midaschieh@google.com> | Mon Jun 21 21:31:39 2021 +0800 |
| committer | Midas Chien <midaschieh@google.com> | Sat Jul 03 01:06:46 2021 +0800 |
| tree | 539966b42f3099a3def275db6ec05c4449680609 | |
| parent | dec437ad7b064ba29c12a87e9811090b15128222 [diff] |
libhwc2.1: postpone vsync callback until get vsync from driver If we don't know the last hw vsync timestamp and fail to get it from driver, postpone the vsync callback until we can get real value from the hardware to avoid report incorrect hw vsync timestamp. Also send wake up signal to driver while enabling vsync. Bug: 189173278 Bug: 191386940 Test: perfetto trace Change-Id: I2f52f067838540df562dc8bb6e1165ee59760ec1