]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/display: Updates for ODM Transition Test
authorEric Bernstein <eric.bernstein@amd.com>
Wed, 26 May 2021 19:22:51 +0000 (15:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Jun 2021 16:23:49 +0000 (12:23 -0400)
[Why]
There is an assert in cases where transition from ODM 2:1
to ODM 1:1 (bypass)

[How]
Remove assert since this case is now valid.
Update diags tests for ODM transitions.

Signed-off-by: Eric Bernstein <eric.bernstein@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Stylon Wang <stylon.wang@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

index 490938906c7d8b84d4748696927e5d928c38d105..1b670c5de1aa727d46a2ad89ac423b9109d19861 100644 (file)
@@ -2789,7 +2789,6 @@ int dcn20_validate_apply_pipe_split_flags(
                                split[i] = 0;
                        } else if (get_num_odm_splits(pipe)) {
                                /* ODM -> MPC transition */
-                               ASSERT(0); /* NOT expected yet */
                                if (pipe->prev_odm_pipe) {
                                        split[i] = 0;
                                        merge[i] = true;