diff options
author | Frederic Plourde <frederic.plourde@collabora.co.uk> | 2014-11-04 06:30:11 -0500 |
---|---|---|
committer | Frederic Plourde <frederic.plourde@collabora.co.uk> | 2014-11-04 10:56:05 -0500 |
commit | 507cfb65fba6ed2f4e0b3973f6335ba98aa97894 (patch) | |
tree | 999530c63a2f1e5ca6bd71fb31efe4d3fe2f2fd7 /releasing.txt | |
parent | 280e7dd918f1717c7d677676384a9cd991097741 (diff) |
compositor: Abort on bad frame timestampbad_timestamp_abort
Many features, like animations, hardly depend on page flip timestamps
to work properly, but some DRM drivers do not correctly support page flip
timestamps (or not at all) and in that case, things start to go wrong.
This patch adds sanity check to weston_output_finish_frame to ensure
that received timestamps are free from those pathologies:
1) Timestamps exactly equal 0
2) Timestamps do not advance from one frame to the next
If a pathological case is detected, we gracefully exit Weston
with an appropriate exit code to help developers debug their drivers.
This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=79502
Note:
This patch depends on "compositor: Return a user-defined exit code"
Diffstat (limited to 'releasing.txt')
0 files changed, 0 insertions, 0 deletions