diff options
-rw-r--r-- | src/i830_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_accel.c b/src/i830_accel.c index 7dff714f..5ee53bb1 100644 --- a/src/i830_accel.c +++ b/src/i830_accel.c @@ -205,7 +205,7 @@ I830Sync(ScrnInfoPtr pScrn) * register reads for idle. */ emit.irq_seq = &wait.irq_seq; - ret = drmCommandWrite(pI830->drmSubFD, DRM_I830_IRQ_EMIT, &emit, + ret = drmCommandWriteRead(pI830->drmSubFD, DRM_I830_IRQ_EMIT, &emit, sizeof(emit)); if (ret != 0) FatalError("Failure to emit IRQ: %s\n", strerror(-ret)); |