drm/amd/display: Connect clock optimization function to dcn301
authorMikita Lipski <mikita.lipski@amd.com>
Tue, 1 Dec 2020 15:52:58 +0000 (10:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Apr 2021 20:31:52 +0000 (16:31 -0400)
[why/how]
Connecting clock optimization functions to dcn301 HWSS
to enable power state enter/exit optimization

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Acked-by: Bindu Ramamurthy <bindur12@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_init.c

index 0d90523c7cdcf6814ff8e23c848dc29f9ef360eb..70b053d9ba405e2862f11f7d0dd22c70ce33d022 100644 (file)
@@ -99,6 +99,8 @@ static const struct hw_sequencer_funcs dcn301_funcs = {
        .set_pipe = dcn21_set_pipe,
        .set_disp_pattern_generator = dcn30_set_disp_pattern_generator,
        .get_dcc_en_bits = dcn10_get_dcc_en_bits,
+       .optimize_pwr_state = dcn21_optimize_pwr_state,
+       .exit_optimized_pwr_state = dcn21_exit_optimized_pwr_state,
 };
 
 static const struct hwseq_private_funcs dcn301_private_funcs = {