e3bbee2630
And take it into account in meta_kms_crtc_get_deadline_evasion. This uses the same fundamental approach as clutter frame clock scheduling: Measure the deadline timer dispatch duration, keep track of the longest duration, and set the timer to fire such that the longest measured dispatch duration would result in it completing shortly before start of vblank. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3612 v2: * Move DEADLINE_EVASION_CONSTANT_US addition from meta_kms_crtc_determine_deadline to meta_kms_crtc_get_deadline_evasion. * Calculate how long before start of vblank dispatch completed for debug output in crtc_frame_deadline_dispatch. * Shorten over-long lines in crtc_frame_deadline_dispatch. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3934> Signed-off-by: Mingi Sung <sungmg@saltyming.net> (cherry picked from commit 88e7f353) |
||
---|---|---|
.. | ||
backends | ||
common | ||
compositor | ||
core | ||
frames | ||
meta | ||
tests | ||
wayland | ||
x11 | ||
meson.build | ||
meta-private-enum-types.c.in | ||
meta-private-enum-types.h.in |