xserver/hw/xfree86/drivers
Sultan Alsawaf 18b14ea1f6 modesetting: Introduce ms_tearfree_is_active_on_crtc helper
There is more than one place with the confusing TearFree state check for a
CRTC. Instead of open-coding the TearFree check everywhere, introduce a
helper, ms_tearfree_is_active_on_crtc, to cover the TearFree state checks.

Suggested-by: Martin Roukala <martin.roukala@mupuf.org>
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org>
2023-02-28 22:43:37 -08:00
..
inputtest xf86-input-inputtest: Fix build on systems without SOCK_NONBLOCK 2022-06-26 09:16:42 +00:00
modesetting modesetting: Introduce ms_tearfree_is_active_on_crtc helper 2023-02-28 22:43:37 -08:00