mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 04:01:56 -07:00
drm: enable explit out fence in AQ (#8431)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user