renderonly: use drmIoctl
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 28 Apr 2017 11:14:20 +0000 (13:14 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 2 May 2017 20:22:53 +0000 (22:22 +0200)
commitb539335e50b355854202c4b1b42aa4ddbe9289fa
tree1b13d7f3dbe37486e87c1eeab1fe52b57eb46d78
parentcd8ee259c8e9b1c16b5c3214595b91eb31e7de19
renderonly: use drmIoctl

To restart interrupted system calls, use drmIoctl.

Fixes: 848b49b288f ("gallium: add renderonly library")
CC: <mesa-stable@lists.freedesktop.org>
Suggested-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/auxiliary/renderonly/renderonly.c