]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix rn soc bb update
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 22 Apr 2020 22:07:53 +0000 (18:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 20:43:13 +0000 (16:43 -0400)
commit5e5e12a5373d70253b764c9b23d16dbfc1f7eee9
treea4f1da35f84a1cd86030175cacfefe61cdf499d6
parente7287b96e905ba494eba4000d3dd09b4963551f3
drm/amd/display: fix rn soc bb update

Currently RN SOC bounding box update assumes we will get at least
2 clock states from SMU. This isn't always true and because of special
casing on first clock state we end up with low disp, dpp, dsc and phy
clocks.

This change removes the special casing allowing the first state to
acquire correct clocks.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c