mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 18:20:05 +01:00
sync: always call BracketValues when recalculating upper/lower brackets
Both ServertimeBracketValues and IdleTimeBracketValues copy the value into there SysCounter privates. Call it for a NULL set as well, so we don't end up with stale pointers and we can remove the block/wakeup handlers. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
5c7cfd4c69
commit
2efe49c102
1 changed files with 2 additions and 3 deletions
|
|
@ -1058,9 +1058,8 @@ SyncComputeBracketValues(SyncCounter * pCounter)
|
|||
}
|
||||
} /* end for each trigger */
|
||||
|
||||
if (pnewgtval || pnewltval) {
|
||||
(*psci->BracketValues) ((pointer) pCounter, pnewltval, pnewgtval);
|
||||
}
|
||||
(*psci->BracketValues) ((pointer) pCounter, pnewltval, pnewgtval);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue