diff options
author | Aric Cyr <[email protected]> | 2022-08-26 17:53:34 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-09-13 14:33:00 -0400 |
commit | 34955a1e797d074e72d0ac6a514d934d8fe80da1 (patch) | |
tree | 0433456d00c719b3262feee0af07a6b804e40008 /tools/perf/scripts/python | |
parent | 4bd09d7481047500fcad389251e13946c083b9fb (diff) |
drm/amd/display: Don't adjust VRR unnecessarily
[why]
Do not need to spend time reprogramming DRR if there were no updates to
the parameters.
[how]
Compare the current stream state to the requested one to determine if an
update is required.
In amdgpu_dm the timing_changed flag is set but never used so can remove it.
Similarly, the stream update for VRR is done after dc_commit and should
not update its adjust field until after the update is completed. The
adjust field is managed by dc_stream_adjust_vmin_vmax and should not be
manually updated in amdgpu_dm.
Tested-by: Daniel Wheeler <[email protected]>
Reviewed-by: Anthony Koo <[email protected]>
Acked-by: Pavle Kotarac <[email protected]>
Signed-off-by: Aric Cyr <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions