xf86-video-intel: src/sna/sna_dri2.c
Chris Wilson
ickle at kemper.freedesktop.org
Thu May 22 02:05:36 PDT 2014
src/sna/sna_dri2.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 0f0cd87c66a4e373ab9b26626514d43b5f4978e5
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu May 22 10:04:09 2014 +0100
sna/dri2: DBG fixes
Update the DBG statements to match current code.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 43381d2..eae6cc3 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;
}
More information about the xorg-commit
mailing list