summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
diff options
context:
space:
mode:
authorAric Cyr <aric.cyr@amd.com>2023-11-30 18:54:48 -0500
committerAlex Deucher <alexander.deucher@amd.com>2024-01-29 15:41:55 -0500
commitdcbf438d48341dc60e08e3df92120a4aeb097c84 (patch)
treeb3e465581adf11cfaf05a1750c9e6d3aec655957 /drivers/gpu/drm/amd/display/dc/core/dc_resource.c
parentd46fb0068c54d3dc95ae8298299c4d9edb0fb7c1 (diff)
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 <alvin.lee2@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Aric Cyr <aric.cyr@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/core/dc_resource.c')
0 files changed, 0 insertions, 0 deletions