From d7012d2ad3f9b7e580cc35a3b63e88fd4d8a7652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 12 Aug 2024 15:12:09 +0200 Subject: [PATCH] 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: --- src/backends/native/meta-kms-impl-device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backends/native/meta-kms-impl-device.c b/src/backends/native/meta-kms-impl-device.c index 1ae9abd06..627b6547c 100644 --- a/src/backends/native/meta-kms-impl-device.c +++ b/src/backends/native/meta-kms-impl-device.c @@ -1370,7 +1370,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; @@ -1383,7 +1383,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 ")", @@ -1394,7 +1394,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); }