https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/hw/xfree86/dri/dri.c#L1740
(!count || !(count % 1))