Skip to content

Commit 9b9bd3f

Browse files
Eric Yangalexdeucher
authored andcommitted
drm/amd/display: undo clearing of z10 related function pointers
[Why] Z10 and S0i3 have some shared path. Previous code clean up , incorrectly removed these pointers, which breaks s0i3 restore [How] Do not clear the function pointers based on Z10 disable. Reviewed-by: Nicholas Kazlauskas <[email protected]> Acked-by: Pavle Kotarac <[email protected]> Signed-off-by: Eric Yang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent aa482dd commit 9b9bd3f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,4 @@ void dcn31_hw_sequencer_construct(struct dc *dc)
153153
dc->hwss.init_hw = dcn20_fpga_init_hw;
154154
dc->hwseq->funcs.init_pipes = NULL;
155155
}
156-
if (dc->debug.disable_z10) {
157-
/*hw not support z10 or sw disable it*/
158-
dc->hwss.z10_restore = NULL;
159-
dc->hwss.z10_save_init = NULL;
160-
}
161156
}

0 commit comments

Comments
 (0)