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 22:56:40 +0000 (17:56 -0500)
commit0652a1c8a4a434a9766ca6bc52487c907df1864d
treee840c1f33e0a8c809aa3f9489ec5e08701411d00
parent8c4e9105b2a8ab4ac4e6eeb479951ba6a3b4e897
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