diff options
| author | Angus Wang <[email protected]> | 2022-03-22 15:37:15 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-04-05 10:29:47 -0400 |
| commit | 3fe5739db488434bc0368577615ea7275b0f43a5 (patch) | |
| tree | 84297b3b7c63817f3a0463c61afb7f815748082a /tools/perf/scripts/python/sched-migration.py | |
| parent | 35b2186b13b66075035fa008e9390d14b331e1b3 (diff) | |
drm/amd/display: Add flip interval workaround
[WHY]
Some games experience low FPS issues when FreeSync is on and VSync is
toggled to half refresh rate.
[HOW]
First create a function to determine workaround conditions, which is
when we detect 2 or more VSync interrupts between flips and a very short
VSync to flip interval. We do the workaround during VSync interrupts and
set the v_total_max and min to nominal. We also cleanup after we exit
the game.
Tested-by: Daniel Wheeler <[email protected]>
Reviewed-by: Anthony Koo <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Angus Wang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions