]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: fix a crash when clock source is reference for non otg master pipe
authorWenjing Liu <wenjing.liu@amd.com>
Mon, 17 Jun 2024 16:58:35 +0000 (12:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2024 20:10:35 +0000 (16:10 -0400)
commitb6d508533fa1371d870628a88b74c831c5881cde
treeae97c87de9a7ad68c888f65a6842bb5cded2a696
parentd6d884b68ad65c832be5ba22ac61dc7173059d9a
drm/amd/display: fix a crash when clock source is reference for non otg master pipe

[why]
The function enumerates all pipes without checking pipe type. It is only
supposed to call program pixel clock for OTG master pipe only.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@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/clk_mgr/dcn401/dcn401_clk_mgr.c