]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: [FIX] update clock under two conditions
authorLewis Huang <Lewis.Huang@amd.com>
Wed, 16 Sep 2020 21:13:11 +0000 (17:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Sep 2020 21:37:20 +0000 (17:37 -0400)
commit1958b90d32b24e234e42f21b7f7dbdca7d472d80
tree4fa2dd3c1d600b5d712a8fda42a845db300740f8
parentad21c4bf3d4f34ff64c19fed467bc95ba0d1503c
drm/amd/display: [FIX] update clock under two conditions

[Why]
Update clock only when non-seamless boot stream exists
creates regression on multiple scenerios.

[How]
Update clock in two conditions
1. Non-seamless boot stream exist.
2. Stream_count = 0

Fixes: 6499b197cfbc ("drm/amd/display: update clock when non-seamless boot stream exist")
Signed-off-by: Lewis Huang <Lewis.Huang@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Qingqing Zhuo <Qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org>
drivers/gpu/drm/amd/display/dc/core/dc.c