]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: DCN2.x Do not program DPPCLK if same value
authorSung Lee <sung.lee@amd.com>
Tue, 4 Feb 2020 20:49:54 +0000 (15:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Feb 2020 16:51:08 +0000 (11:51 -0500)
commitcb952e893e5134b1060b7d88d1a3f8861282a286
tree53a17560c8aae5cb1cd5100c54a42a7f8eb9e742
parent9c00899381940cb5d4040f2b6daed622978ada39
drm/amd/display: DCN2.x Do not program DPPCLK if same value

[WHY]
Programming DPPCLK to the same value currently set may cause
underflow while playing video in certain conditions.

[HOW]
Only program DPPCLK if clock is not the same as the
previous value programmed.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c