drm/amd/display: Update stream adjust in dc_stream_adjust_vmin_vmax
authorIsabel Zhang <isabel.zhang@amd.com>
Sun, 5 Apr 2020 20:41:01 +0000 (16:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Apr 2020 14:43:17 +0000 (10:43 -0400)
commitbdfbff5ef46b99322476fefe7dfe51ac8fdb6173
tree98b24eb5044137207d4ba8d2a25ec550056f753d
parent700f7f729810926fe76311a59ae236d85c4e24b3
drm/amd/display: Update stream adjust in dc_stream_adjust_vmin_vmax

[Why]
After v_total_min and max are updated in vrr structure, the changes are
not reflected in stream adjust. When these values are read from stream
adjust it does not reflect the actual state of the system.

[How]
Set stream adjust values equal to vrr adjust values after vrr adjust
values are updated.

Signed-off-by: Isabel Zhang <isabel.zhang@amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c