Re: [PATCH xserver] modesetting: Fix fallback for lack of new vblank kernel API.

2018-02-27 Thread Adam Jackson
On Mon, 2018-02-26 at 22:25 -0800, Keith Packard wrote: > Mario Kleiner writes: > > > Turns out that the kernel DRM ioctl handling returns EINVAL > > instead of ENOTTY if one tries to call the new drmCrtcGetSequence() > > Thanks for fixing this. I must have missed

Re: [PATCH xserver] modesetting: Fix fallback for lack of new vblank kernel API.

2018-02-26 Thread Keith Packard
Mario Kleiner writes: > Turns out that the kernel DRM ioctl handling returns EINVAL > instead of ENOTTY if one tries to call the new drmCrtcGetSequence() Thanks for fixing this. I must have missed testing this... Reviewed-by: Keith Packard --

[PATCH xserver] modesetting: Fix fallback for lack of new vblank kernel API.

2018-02-26 Thread Mario Kleiner
Turns out that the kernel DRM ioctl handling returns EINVAL instead of ENOTTY if one tries to call the new drmCrtcGetSequence() or drmCrtcQueueSequence() ioctl's introduced in Linux 4.15 on an older kernel where they are missing. This causes the fallback code not to fall back to the old