kms/impl-device: Use KMS_DEADLINE in crtc_page_flip_feedback_flipped
It's useful for this to match the debug topic in crtc_frame_deadline_dispatch. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3934> Signed-off-by: Mingi Sung <sungmg@saltyming.net>
This commit is contained in:
parent
0411de33b5
commit
b5dffcdc67
1 changed files with 3 additions and 3 deletions
|
@ -1201,7 +1201,7 @@ crtc_page_flip_feedback_flipped (MetaKmsCrtc *crtc,
|
|||
CrtcFrame *crtc_frame = user_data;
|
||||
|
||||
if (crtc_frame->deadline.is_deadline_page_flip &&
|
||||
meta_is_topic_enabled (META_DEBUG_KMS))
|
||||
meta_is_topic_enabled (META_DEBUG_KMS_DEADLINE))
|
||||
{
|
||||
struct timeval page_flip_timeval;
|
||||
int64_t presentation_time_us;
|
||||
|
@ -1214,7 +1214,7 @@ crtc_page_flip_feedback_flipped (MetaKmsCrtc *crtc,
|
|||
|
||||
if (crtc_frame->deadline.has_expected_presentation_time)
|
||||
{
|
||||
meta_topic (META_DEBUG_KMS,
|
||||
meta_topic (META_DEBUG_KMS_DEADLINE,
|
||||
"Deadline page flip presentation time: %" G_GINT64_FORMAT " us, "
|
||||
"expected %" G_GINT64_FORMAT " us "
|
||||
"(diff: %" G_GINT64_FORMAT ")",
|
||||
|
@ -1225,7 +1225,7 @@ crtc_page_flip_feedback_flipped (MetaKmsCrtc *crtc,
|
|||
}
|
||||
else
|
||||
{
|
||||
meta_topic (META_DEBUG_KMS,
|
||||
meta_topic (META_DEBUG_KMS_DEADLINE,
|
||||
"Deadline page flip presentation time: %" G_GINT64_FORMAT " us",
|
||||
presentation_time_us);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue