drm/amd/display: add dwb support to dml2
authorCharlene Liu <charlene.liu@amd.com>
Tue, 19 Mar 2024 23:41:34 +0000 (19:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2024 02:16:08 +0000 (22:16 -0400)
commit9850a1c44ca90b0e2865467c67b4de45a67b3410
tree11a28c4237fd398cf2f1e8ac20fa693062a90d0f
parentded99dacb2d6e154349b442050a91c1651dae853
drm/amd/display: add dwb support to dml2

[why]
dwb was not POR previosly.
now need to enable dwb in dml2.

Limitation:
HW DML assumes only one DWB
one set of watermark for all 4 watermark sets
one stream has one DWB only.
WB scaling dml input has one set of scaling tap.
(no chroma so far)

needs to follow up

Reviewed-by: Chris Park <chris.park@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c
drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.h
drivers/gpu/drm/amd/display/dc/dml2/display_mode_lib_defines.h
drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c
drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c
drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.h
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c