Skip to content

Commit 4c94e57

Browse files
Hersen Wualexdeucher
authored andcommitted
drm/amd/display: fix wrong index used in dccg32_set_dpstreamclk
[Why & How] When merging commit 9af611f ("drm/amd/display: Fix DCN32 DPSTREAMCLK_CNTL programming"), index change was not picked up. Cc: [email protected] Cc: Mario Limonciello <[email protected]> Fixes: 9af611f ("drm/amd/display: Fix DCN32 DPSTREAMCLK_CNTL programming") Reviewed-by: Qingqing Zhuo <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Hersen Wu <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 2b07244 commit 4c94e57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,7 @@ static void dccg32_set_dpstreamclk(
271271
dccg32_set_dtbclk_p_src(dccg, src, otg_inst);
272272

273273
/* enabled to select one of the DTBCLKs for pipe */
274-
switch (otg_inst)
275-
{
274+
switch (dp_hpo_inst) {
276275
case 0:
277276
REG_UPDATE_2(DPSTREAMCLK_CNTL,
278277
DPSTREAMCLK0_EN,

0 commit comments

Comments
 (0)