drm/amd/display: Fix DML validation of simple vs native 422 modes
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 30 Mar 2021 20:25:56 +0000 (16:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Apr 2021 20:31:24 +0000 (16:31 -0400)
commitb0f3438286bcf33a51d039ebd20a0d5dd89a794d
tree866da564bca90c67c55ff2beaf15ec6b5fab5072
parent8efd0f5a44c29f0e14ebf6401025ad18e84aa378
drm/amd/display: Fix DML validation of simple vs native 422 modes

[Why]
We're always validating DML with simple 422 DSC even if native 422 DSC
is in use.

[How]
Use the mode configuration from the timing.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Bindu Ramamurthy <bindur12@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c