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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Nov 2023 21:48:59 +0000 (16:48 -0500)
commit40436ce7ccfec5c616e2e48d0ec2c905637c7397
tree809b7fe167f4713466620cb7c235675721b4f49c
parenta953cd8cac6be69fba0b66e6fb46d1324d797af4
drm/amd/display: Use DRAM speed from validation for dummy p-state

[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>
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c