]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Update dram_clock_change_latency for DCN2.1
authorJake Wang <haonan.wang2@amd.com>
Fri, 8 Jan 2021 17:27:51 +0000 (12:27 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Jan 2021 21:38:22 +0000 (16:38 -0500)
commitd08cef4a27f255e838db018ccbd8b3b394e1b787
treef7a17e5be9e00ffffaa1c79798cbee8034a2c732
parentde3eaf28d76bbab54da343a7d4f5459bab87d3a4
drm/amd/display: Update dram_clock_change_latency for DCN2.1

[WHY]
dram clock change latencies get updated using ddr4 latency table, but
that update does not happen before validation. This value
should not be the default and should be number received from
df for better mode support.
This may cause a PState hang on high refresh panels with short vblanks
such as on 1080p 360hz or 300hz panels.

[HOW]
Update latency from 23.84 to 11.72.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Jake Wang <haonan.wang2@amd.com>
Reviewed-by: Sung Lee <Sung.Lee@amd.com>
Acked-by: Anson Jacob <anson.jacob@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c