drm/amd/display: Fix MST PBN/X.Y value calculations
authorIlya Bakoulin <ilya.bakoulin@amd.com>
Fri, 1 Dec 2023 13:25:06 +0000 (06:25 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2023 20:22:33 +0000 (15:22 -0500)
commit94bbf802efd0a8f13147d6664af6e653637340a8
treec9423dd6f270f1d46d5835f4d9d3c2f5157aa1d8
parent23cf5a5cd33a518b6bdbe9966dc49f1cf6bfe532
drm/amd/display: Fix MST PBN/X.Y value calculations

Changing PBN calculation to be more in line with spec. We don't need to
inflate PBN_NATIVE value by the 1.006 margin, since that is already
taken care of in the get_pbn_per_slot function.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Ilya Bakoulin <ilya.bakoulin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_dpms.c