]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Update dram_clock_change_latency for DCN2.1
authorSung Lee <sung.lee@amd.com>
Fri, 13 Nov 2020 18:34:55 +0000 (13:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Dec 2020 21:03:20 +0000 (16:03 -0500)
commitc68d17a355120126d95bd8cff8989d066d8ce11b
treee8e5f381e159ab20765995529926d49d3e8ac5d1
parent10fdf9e6a24ef9f6a5c2bad6d0d80594659edf34
drm/amd/display: Update dram_clock_change_latency for DCN2.1

[WHY]
dram clock change latencies get updated using ddr4 latency table, but
does 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.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c