]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Use DRAM speed from validation for dummy p-state
authorAlvin Lee <alvin.lee2@amd.com>
Tue, 7 Nov 2023 22:01:49 +0000 (17:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2023 07:51:14 +0000 (08:51 +0100)
commit6ef7f13c72df6bc95d39eb1614306768141377db
tree5c2ed113f9fe2d0d95afddf22ecda31ab83a4c9f
parenta67c18704706e0a9ccac9b7002e678d325aea123
drm/amd/display: Use DRAM speed from validation for dummy p-state

commit 9be601135ba8ac69880c01606c82140f2dde105e upstream.

[Description]
When choosing which dummy p-state latency to use, we
need to use the DRAM speed from validation. The DRAMSpeed
DML variable can change because we use different input
params to DML when populating watermarks set B.

Cc: stable@vger.kernel.org # 6.1+
Reviewed-by: Samson Tam <samson.tam@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c