Well just core drm. All the other callers in there that still use
direct calls to ioctl have some custom retry logic already, so should
be good already.
freedreno/kgsl ahas all the other bare ioctl calls, dunnot what to do
about that.

Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
 xf86drm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xf86drm.c b/xf86drm.c
index fb673b58afb3..263d6835c29a 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -2543,12 +2543,12 @@ void drmCloseOnce(int fd)

 int drmSetMaster(int fd)
 {
-       return ioctl(fd, DRM_IOCTL_SET_MASTER, 0);
+       return drmIoctl(fd, DRM_IOCTL_SET_MASTER, 0);
 }

 int drmDropMaster(int fd)
 {
-       return ioctl(fd, DRM_IOCTL_DROP_MASTER, 0);
+       return drmIoctl(fd, DRM_IOCTL_DROP_MASTER, 0);
 }

 char *drmGetDeviceNameFromFd(int fd)
-- 
2.1.4

Reply via email to