--- src/drmmode_display.c.orig 2019-10-15 16:16:29 UTC +++ src/drmmode_display.c @@ -1274,14 +1274,16 @@ drmmode_show_cursor (xf86CrtcPtr crtc) arg.hot_x = xhot; arg.hot_y = yhot; - ret = drmIoctl(pRADEONEnt->fd, DRM_IOCTL_MODE_CURSOR2, &arg); + ret = drmModeSetCursor2(pRADEONEnt->fd, arg.crtc_id, arg.handle, + info->cursor_w, info->cursor_h, xhot, yhot); if (ret == -EINVAL) use_set_cursor2 = FALSE; else return; } - drmIoctl(pRADEONEnt->fd, DRM_IOCTL_MODE_CURSOR, &arg); + drmModeSetCursor(pRADEONEnt->fd, arg.crtc_id, arg.handle, + info->cursor_w, info->cursor_h); } /* Xorg expects a non-NULL return value from drmmode_crtc_shadow_allocate, and