]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 2 Nov 2022 21:16:25 +0000 (17:16 -0400)
commit0b67e5fcbdf34c9c4ecbc4b14d4d03b145bbb6e5
treef04b6a32cc3e9da1032356379aebc55f20484dc2
parentcce94d8d8131dce04c046edc93820d73d7eeec7e
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