drm/amd/display: Use forced DSC bpp in DML
authorGeorge Shen <george.shen@amd.com>
Fri, 14 Oct 2022 21:36:32 +0000 (17:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Nov 2022 15:47:59 +0000 (11:47 -0400)
commite70a70d0c03f5594cd09a1a2732c7e136f9c8edd
treecd06ebd29f7c88c854cac0f68b30cf30442a13d9
parent86975c34b6e2ce85b5b03f3b0a83333c97890ad7
drm/amd/display: Use forced DSC bpp in DML

[Why]
DSC config is calculated separately from DML calculations.
DML should use these separately calculated DSC params. The issue is
that the calculated bpp is not properly propagated into DML.

[How]
Correctly used forced_bpp value in DML.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c