Skip to content

Commit 346d8a0

Browse files
Isabel Zhangalexdeucher
authored andcommitted
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 <[email protected]> Reviewed-by: Alvin Lee <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 8c61b31 commit 346d8a0

File tree

1 file changed

+2
-0
lines changed
  • drivers/gpu/drm/amd/display/dc/core

1 file changed

+2
-0
lines changed

drivers/gpu/drm/amd/display/dc/core/dc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ bool dc_stream_adjust_vmin_vmax(struct dc *dc,
283283
int i = 0;
284284
bool ret = false;
285285

286+
stream->adjust = *adjust;
287+
286288
for (i = 0; i < MAX_PIPES; i++) {
287289
struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i];
288290

0 commit comments

Comments
 (0)