]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Reuse the modified power sequence
authorSung Joon Kim <sungjoon.kim@amd.com>
Mon, 8 Apr 2024 14:11:57 +0000 (10:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:45:47 +0000 (09:45 -0400)
[why & how]
Need to update the function pointers that
perform the power up and down sequence
to reuse the modified sequence as a requirement.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Sung Joon Kim <sungjoon.kim@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/hwss/dcn351/dcn351_init.c

index a53092cd619b142d76ec46c86addacb650ce461d..c4944478ed912f3f5c537910d43763808f036429 100644 (file)
@@ -116,10 +116,10 @@ static const struct hw_sequencer_funcs dcn351_funcs = {
        .update_visual_confirm_color = dcn10_update_visual_confirm_color,
        .apply_idle_power_optimizations = dcn35_apply_idle_power_optimizations,
        .update_dsc_pg = dcn32_update_dsc_pg,
-       .calc_blocks_to_gate = dcn35_calc_blocks_to_gate,
-       .calc_blocks_to_ungate = dcn35_calc_blocks_to_ungate,
-       .hw_block_power_up = dcn35_hw_block_power_up,
-       .hw_block_power_down = dcn35_hw_block_power_down,
+       .calc_blocks_to_gate = dcn351_calc_blocks_to_gate,
+       .calc_blocks_to_ungate = dcn351_calc_blocks_to_ungate,
+       .hw_block_power_up = dcn351_hw_block_power_up,
+       .hw_block_power_down = dcn351_hw_block_power_down,
        .root_clock_control = dcn35_root_clock_control,
 };