From 0f0cd87c66a4e373ab9b26626514d43b5f4978e5 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 22 May 2014 10:04:09 +0100 Subject: [PATCH] sna/dri2: DBG fixes Update the DBG statements to match current code. Signed-off-by: Chris Wilson --- src/sna/sna_dri2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c index 43381d23..eae6cc3a 100644 --- a/src/sna/sna_dri2.c +++ b/src/sna/sna_dri2.c @@ -1755,9 +1755,9 @@ static void chain_flip(struct sna *sna) static void sna_dri2_flip_event(struct sna *sna, struct sna_dri2_frame_event *flip) { - DBG(("%s(frame=%d, tv=%d.%06d, type=%d)\n", + DBG(("%s(frame=%lld, tv=%d.%06d, type=%d)\n", __FUNCTION__, - flip->fe_frame, + (long long)flip->fe_frame, flip->fe_tv_sec, flip->fe_tv_usec, flip->type)); @@ -2395,7 +2395,7 @@ fail: (long long)*msc, (long long)*ust)); } else { DBG(("%s: query failed on pipe %d, ret=%d\n", - __FUNCTION__, pipe, errno)); + __FUNCTION__, sna_crtc_to_pipe(crtc), errno)); goto fail; }