drm/amd/display: fix wrong index used in dccg32_set_dpstreamclk
authorHersen Wu <hersenxs.wu@amd.com>
Thu, 9 Mar 2023 21:14:08 +0000 (16:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Mar 2023 05:07:04 +0000 (01:07 -0400)
commit2fedafc7ef071979b07fe9e9ccb7af210b65da0e
treecffdc409400d3ae1d60f2dac1c4853f0642962da
parent1c1f61057c10107d15093522c097d9bf54703ae3
drm/amd/display: fix wrong index used in dccg32_set_dpstreamclk

[Why & How]
When merging commit 9af611f29034
("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: 9af611f29034 ("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>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c