present: add support for PresentOptionAsyncMayTear

Signed-off-by: Xaver Hugl <xaver.hugl@gmail.com>
Acked-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
Xaver Hugl
2022-10-17 16:31:05 +02:00
parent c6bf0e3950
commit 2adc5c45c1
4 changed files with 5 additions and 3 deletions

View File

@@ -157,7 +157,7 @@ present_get_target_msc(uint64_t target_msc_arg,
uint64_t remainder,
uint32_t options)
{
const Bool synced_flip = !(options & PresentOptionAsync);
const Bool synced_flip = !(options & PresentAllAsyncOptions);
uint64_t target_msc;
/* If the specified target-msc lies in the future, then this