diff options
| author | Aric Cyr <[email protected]> | 2023-11-30 23:54:48 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-01-29 20:41:55 +0000 |
| commit | dcbf438d48341dc60e08e3df92120a4aeb097c84 (patch) | |
| tree | b3e465581adf11cfaf05a1750c9e6d3aec655957 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz (diff) | |
| download | kernel-dcbf438d48341dc60e08e3df92120a4aeb097c84.tar.gz kernel-dcbf438d48341dc60e08e3df92120a4aeb097c84.zip | |
drm/amd/display: Unify optimize_required flags and VRR adjustments
[why]
There is only a single call to dc_post_update_surfaces_to_stream
so there is no need to have two flags to control it. Unifying
this to a single flag allows dc_stream_adjust_vmin_vmax to skip
actual programming when there is no change required.
[how]
Remove wm_optimze_required flag and set only optimize_required in its
place. Then in dc_stream_adjust_vmin_vmax, check that the stream timing
range matches the requested one and skip programming if they are equal.
Reviewed-by: Alvin Lee <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Aric Cyr <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
