Skip to content

Commit 4df19b1

Browse files
Rodrigo Siqueiraalexdeucher
authored andcommitted
drm/amd/display: Add missing DET segments programming
The commit 5034b93 ("drm/amd/display: Modify DHCUB waterwark structures and functions") introduced a code refactor for DCHUB, but during the merge process into amd-staging-drm-next, the program det segments were removed. This commit adds the DET segment programming for DCN35. Fixes: 5034b93 ("drm/amd/display: Modify DHCUB waterwark structures and functions") Reviewed-by: Aurabindo Pillai <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 675d9ac)
1 parent f2aaed1 commit 4df19b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ void dcn35_init_pipes(struct dc *dc, struct dc_state *context)
771771
if (hubbub && hubp) {
772772
if (hubbub->funcs->program_det_size)
773773
hubbub->funcs->program_det_size(hubbub, hubp->inst, 0);
774+
if (hubbub->funcs->program_det_segments)
775+
hubbub->funcs->program_det_segments(hubbub, hubp->inst, 0);
774776
}
775777
}
776778

0 commit comments

Comments
 (0)