diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-07 15:10:18 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-08 21:34:21 +0100 |
commit | 6cb0c631e4eafc09f1677c73906de9108d735de4 (patch) | |
tree | 05cd60caeab226b3ba9bdfa42a542d4df9d12ddb /src/sna/sna_dri.c | |
parent | 9a314d18cef1e08b23f9dca861ad2ba396bb1080 (diff) |
sna/dri: Clarify the message for one failure case
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_dri.c')
-rw-r--r-- | src/sna/sna_dri.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c index 6627847f..6994fba7 100644 --- a/src/sna/sna_dri.c +++ b/src/sna/sna_dri.c @@ -2058,12 +2058,11 @@ sna_dri_get_msc(DrawablePtr draw, CARD64 *ust, CARD64 *msc) } VG_CLEAR(vbl); - vbl.request.type = DRM_VBLANK_RELATIVE | pipe_select(pipe); vbl.request.sequence = 0; - if (sna_wait_vblank(sna, &vbl)) { - DBG(("%s: failed on pipe %d\n", __FUNCTION__, pipe)); + DBG(("%s: query failed on pipe %d, ret=%d\n", + __FUNCTION__, pipe, errno)); return FALSE; } |