drm/amd/display: Add Z8 watermarks for DML2 bbox overrides
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 7 Nov 2023 16:12:45 +0000 (11:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Nov 2023 21:48:59 +0000 (16:48 -0500)
commit80061d6b58a99f1fffb97a7f3592234a5fe0a3fe
tree1996f0a7cbd2c544f25473a6acdc129f30a3b9fa
parent1290183db494641772c18d063c34e9c8f720c61c
drm/amd/display: Add Z8 watermarks for DML2 bbox overrides

[Why]
We can override SR watermarks but not Z8 ones.

[How]
Add new parameters for Z8 matching the SR ones and feed them into the
states.

These also weren't being applied to every state, so make sure that
we loop over and update all SOC states if given an override.

Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@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/dml2/dml2_translation_helper.c
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h