aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorKirill Primak <vyivel@posteo.net>2021-10-14 22:40:12 +0300
committerSimon Ser <contact@emersion.fr>2021-10-15 09:38:58 +0200
commit2af8cc769a4cb2e47d6ec75aa62bb8e565578a24 (patch)
treebc809b9415aa3cc8b95091f4d65bc03a50310983 /backend/drm
parent1089b7b8d638a286c70571fced969826d61143bc (diff)
output: add presented flag to presentation event
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index abfd1c2f..191ad064 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -1465,6 +1465,7 @@ static void handle_page_flip(int fd, unsigned seq,
/* The DRM backend guarantees that the presentation event will be for
* the last submitted frame. */
.commit_seq = conn->output.commit_seq,
+ .presented = true,
.when = &present_time,
.seq = seq,
.refresh = mhz_to_nsec(conn->output.refresh),