mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 12:09:48 +01:00
drm: enable explit out fence in AQ (#8431)
This commit is contained in:
parent
940ed3d525
commit
967fe76a60
1 changed files with 3 additions and 2 deletions
|
@ -1507,6 +1507,9 @@ bool CHyprRenderer::commitPendingAndDoExplicitSync(PHLMONITOR pMonitor) {
|
|||
pMonitor->output->state->resetExplicitFences();
|
||||
if (inFD >= 0)
|
||||
pMonitor->output->state->setExplicitInFence(inFD);
|
||||
auto explicitOptions = getExplicitSyncSettings();
|
||||
if (explicitOptions.explicitEnabled && explicitOptions.explicitKMSEnabled)
|
||||
pMonitor->output->state->enableExplicitOutFenceForNextCommit();
|
||||
|
||||
if (pMonitor->ctmUpdated) {
|
||||
pMonitor->ctmUpdated = false;
|
||||
|
@ -1530,8 +1533,6 @@ bool CHyprRenderer::commitPendingAndDoExplicitSync(PHLMONITOR pMonitor) {
|
|||
}
|
||||
}
|
||||
|
||||
auto explicitOptions = getExplicitSyncSettings();
|
||||
|
||||
if (!explicitOptions.explicitEnabled)
|
||||
return ok;
|
||||
|
||||
|
|
Loading…
Reference in a new issue