]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: populate last calculated bb state with max clocks
authorJun Lei <Jun.Lei@amd.com>
Wed, 3 Jul 2019 20:52:38 +0000 (16:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:27:26 +0000 (14:27 -0500)
commit94406c721e1fd6dba50f126555bd76c3009f8bf0
tree8a13b9e65cb12a5d467cf21537569bc9d339cb63
parent96684a1718bc207d4bfd5535743babcd9c243a78
drm/amd/display: populate last calculated bb state with max clocks

[why]
update_bounding_box calculates intermediate bb states based on clock relationship
however, the last state doesn't need to maintain a minimum relationship, but should
actually contain maximum of every clock.  otherwise maximum clocks are not usable

[how]
once the calculated bb is built, override the last state with max values

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c