drm/amd/display: update DCN2 uclk switch time
authorJun Lei <Jun.Lei@amd.com>
Mon, 27 May 2019 18:15:27 +0000 (14:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:14 +0000 (09:34 -0500)
commit6e17b5b8a846850d73e06dc778e7d5c3ef0423f9
tree49634762b7d6c7296eab3fd363f381a0ac3eb01b
parentcf020d49b3c4ef6ab6f26be3dbf2f36b3df9f797
drm/amd/display: update DCN2 uclk switch time

[why]
value commited to by HW team is going to be higher
than pre-silicon, and will cause underflow if driver not
updated

[how]
update hardcoded value, update pstate switching logic
to fix case where with long uclk time we won't allow switch
even when we should

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c
drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr_internal.h