mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
kms/page-flip: Add a debug print with page flip event timings
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2439>
This commit is contained in:
parent
57d3b5225e
commit
a0ff90a329
@ -21,6 +21,7 @@
|
||||
|
||||
#include "backends/native/meta-kms-page-flip-private.h"
|
||||
|
||||
#include "backends/native/meta-kms-crtc.h"
|
||||
#include "backends/native/meta-kms-impl.h"
|
||||
#include "backends/native/meta-kms-private.h"
|
||||
#include "backends/native/meta-kms-update.h"
|
||||
@ -187,6 +188,12 @@ meta_kms_page_flip_data_set_timings_in_impl (MetaKmsPageFlipData *page_flip_data
|
||||
|
||||
meta_assert_in_kms_impl (kms);
|
||||
|
||||
meta_topic (META_DEBUG_KMS,
|
||||
"Setting page flip timings for CRTC (%u, %s), sequence: %u, sec: %u, usec: %u",
|
||||
meta_kms_crtc_get_id (page_flip_data->crtc),
|
||||
meta_kms_impl_device_get_path (page_flip_data->impl_device),
|
||||
sequence, sec, usec);
|
||||
|
||||
page_flip_data->sequence = sequence;
|
||||
page_flip_data->sec = sec;
|
||||
page_flip_data->usec = usec;
|
||||
|
Loading…
Reference in New Issue
Block a user