Skip to content

Commit 1094c34

Browse files
Nicholas Kazlauskasalexdeucher
authored andcommitted
drm/amd/display: Don't map ATOM_ENABLE to ATOM_INIT
[Why] In DCN hardware sequencer we do actually call ATOM_INIT correctly per pipe. The workaround is not necessary for command table offloading. [How] Drop the workaround since it's not needed. Signed-off-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: Chris Park <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent b5336bf commit 1094c34

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/gpu/drm/amd/display/dc/bios/command_table2.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -711,10 +711,6 @@ static void enable_disp_power_gating_dmcub(
711711
power_gating.header.sub_type = DMUB_CMD__VBIOS_ENABLE_DISP_POWER_GATING;
712712
power_gating.power_gating.pwr = *pwr;
713713

714-
/* ATOM_ENABLE is old API in DMUB */
715-
if (power_gating.power_gating.pwr.enable == ATOM_ENABLE)
716-
power_gating.power_gating.pwr.enable = ATOM_INIT;
717-
718714
dc_dmub_srv_cmd_queue(dmcub, &power_gating.header);
719715
dc_dmub_srv_cmd_execute(dmcub);
720716
dc_dmub_srv_wait_idle(dmcub);

0 commit comments

Comments
 (0)