diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-05-22 10:04:09 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-05-22 10:05:20 +0100 |
commit | 0f0cd87c66a4e373ab9b26626514d43b5f4978e5 (patch) | |
tree | e13cd98182e46ad9be43219dbff9493636653ac0 | |
parent | 80dfbaa3c39e1c56aaa9f8951e3bbcc30a9b748d (diff) |
sna/dri2: DBG fixes
Update the DBG statements to match current code.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_dri2.c | 6 |
1 files 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; } |