weston/libweston/backend-drm
Derek Foreman d88efaea66 backend-drm: More aggressively avoid the stale timestamp workaround
At first we always used this workaround, and then we stopped using it when
VRR was in use.

Turns out it also hurts presentation times when starting the repaint loop,
which makes the commit-timing protocol difficult to implement.

Completely avoid the workaround on any kernel newer than 4.12, based on a
capability check for DRM_CAP_CRTC_IN_VBLANK_EVENT, and log a warning at
startup.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
2025-12-16 10:21:43 -06:00
..
drm-gbm.c drm-backend: Add separate type for dmabuf renderbuffers 2025-10-23 16:22:00 +01:00
drm-internal.h backend-drm: More aggressively avoid the stale timestamp workaround 2025-12-16 10:21:43 -06:00
drm-kms-enums.h drm-backend: Add Variable Refresh Rate modes 2025-02-21 06:49:42 +00:00
drm-virtual.c backend-drm: assert that there's a valid output state before repaint 2025-09-08 08:37:28 +00:00
drm.c backend-drm: More aggressively avoid the stale timestamp workaround 2025-12-16 10:21:43 -06:00
fb.c backend-drm: Initialize bo_fd 2025-12-12 11:39:55 +02:00
kms-color.c backend-drm: set connector property "Colorspace" 2024-05-06 10:39:42 +00:00
kms.c backend-drm: More aggressively avoid the stale timestamp workaround 2025-12-16 10:21:43 -06:00
libbacklight.c libweston,tools: Include libgen.h for basename signature 2023-12-18 21:13:52 +00:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
meson.build backend-drm: Deprecate DRM VA-API recorder 2025-10-28 07:55:43 +00:00
modes.c backend-drm: Add EDID parsing for 'color format' 2025-10-18 14:02:16 +01:00
state-helpers.c drm-backend: Reuse prior state where possible 2025-12-12 14:09:50 -06:00
state-propose.c drm-backend: Reuse prior state where possible 2025-12-12 14:09:50 -06:00
vaapi-recorder.c drm/vaapi: Fix pointer-size confusion 2021-08-03 11:13:23 +00:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00