xserver/hw/xfree86/drivers/modesetting
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
..
dri2.c modesetting: Pass reference CRTC pointer to ms_do_pageflip 2023-02-28 22:43:37 -08:00
driver.c modesetting: Introduce ms_tearfree_is_active_on_crtc helper 2023-02-28 22:43:37 -08:00
driver.h modesetting: Introduce ms_tearfree_is_active_on_crtc helper 2023-02-28 22:43:37 -08:00
drmmode_display.c modesetting: add support for TearFree page flips 2022-12-19 23:56:27 -08:00
drmmode_display.h modesetting: add support for TearFree page flips 2022-12-19 23:56:27 -08:00
dumb_bo.c modesetting: Include dix-config.h from dumb_bo.c 2015-05-12 08:02:11 -07:00
dumb_bo.h modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
meson.build xfree86: Link fb statically 2019-07-23 14:24:00 -04:00
modesetting.man modesetting: Document the "Atomic" option 2022-12-20 10:10:59 +01:00
pageflip.c modesetting: Introduce ms_tearfree_is_active_on_crtc helper 2023-02-28 22:43:37 -08:00
present.c modesetting: Introduce ms_tearfree_is_active_on_crtc helper 2023-02-28 22:43:37 -08:00
vblank.c modesetting: coalesce vblank events to avoid DRM event queue exhaustion 2022-12-19 23:56:27 -08:00