drm/amd/display: fix input states translation error for dcn35 & dcn351
authorSwapnil Patel <swapnil.patel@amd.com>
Tue, 6 Feb 2024 16:40:20 +0000 (11:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Feb 2024 17:24:57 +0000 (12:24 -0500)
commit27a6c49394b1a203beeb94752c9a1d6318f24ddf
tree975cd1d1cb0eb6382fafacafdf4bd76af7636c7d
parentd2b48f340d9e4a8fbeb1cdc84cd8da6ad143a907
drm/amd/display: fix input states translation error for dcn35 & dcn351

[Why]
Currently there is an error while translating input clock sates into
output clock states. The highest fclk setting from output sates is
being dropped because of this error.

[How]
For dcn35 and dcn351, make output_states equal to input states.

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Swapnil Patel <swapnil.patel@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c