drm/amd/display: Pass debug watermarks through to DCN35 DML2
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 1 Dec 2023 13:25:12 +0000 (06:25 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2023 20:22:33 +0000 (15:22 -0500)
commite6ae4c47e8f8941fde115434fd8884e4e972cf6b
treecd77b93b2ae0b1d3fb8e4873a65c92507bf88529
parentc59397eff9439bbc8b9a9835142e99ea0abf9cde
drm/amd/display: Pass debug watermarks through to DCN35 DML2

[Why]
The DC debug options currently do not function for dynamically adjusting
our watermarks.

[How]
Hook them up before passing them to DML2.
Also make sure we're using dc->bb_overrides since dc->debug isn't
populated during dc_construct.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Michael Strauss <michael.strauss@amd.com>
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c