Skip to content

Commit c856f16

Browse files
Nicholas Kazlauskasalexdeucher
authored andcommitted
drm/amd/display: Set optimize_pwr_state for DCN31
[Why] We'll exit optimized power state to do link detection but we won't enter back into the optimized power state. This could potentially block s2idle entry depending on the sequencing, but it also means we're losing some power during the transition period. [How] Hook up the handler like DCN21. It was also missed like the exit_optimized_pwr_state callback. Fixes: 64b1d0e ("drm/amd/display: Add DCN3.1 HWSEQ") Tested-by: Daniel Wheeler <[email protected]> Reviewed-by: Eric Yang <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Nicholas Kazlauskas <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 0d988e5 commit c856f16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/display/dc/dcn31/dcn31_init.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ static const struct hw_sequencer_funcs dcn31_funcs = {
103103
.z10_restore = dcn31_z10_restore,
104104
.z10_save_init = dcn31_z10_save_init,
105105
.set_disp_pattern_generator = dcn30_set_disp_pattern_generator,
106+
.optimize_pwr_state = dcn21_optimize_pwr_state,
106107
.exit_optimized_pwr_state = dcn21_exit_optimized_pwr_state,
107108
.update_visual_confirm_color = dcn20_update_visual_confirm_color,
108109
};

0 commit comments

Comments
 (0)