]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: cap DCFCLK hardmin to 507 for NV10
authorJun Lei <Jun.Lei@amd.com>
Mon, 3 Jun 2019 15:37:44 +0000 (11:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:18 +0000 (14:17 -0500)
commitdb31af12a5169f4ac26acec759c1d872eef26554
tree879bce1606ae0012f93cba1b4fe8d307dd7b39c8
parent5d109be38b23c8859ec78a2ed7c254ccd569719d
drm/amd/display: cap DCFCLK hardmin to 507 for NV10

[why]
Due to limitation in SMU/PPLIB, it is not possible to know Fmax @ Vmin for DCFCLK.
This causes issues at high display configurations where extra headroom of DCFCLK
can enable P-state switching

[how]
Use existing override logic.  If override not defined, then force
min = 507

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Eric Yang <eric.yang2@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