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: stable@vger.kernel.org Cc: Mario Limonciello <mario.limonciello@amd.com> Fixes: 9af611f ("drm/amd/display: Fix DCN32 DPSTREAMCLK_CNTL programming") Reviewed-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Hersen Wu <hersenxs.wu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 2b07244 commit 4c94e57

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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)