summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEric Bernstein <eric.bernstein@amd.com>2022-03-21 17:42:34 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-04-06 19:02:57 +0300
commit7e8906dc2689cbf562ce520cf4a8ba5b495db0f6 (patch)
tree1c419b231b4137a4acbc1930f30dc9f4df3502e7 /drivers
parentebc002e3ee78409c42156e62e4e27ad1d09c5a75 (diff)
downloadlinux-7e8906dc2689cbf562ce520cf4a8ba5b495db0f6.tar.xz
drm/amd/display: remove assert for odm transition case
Remove assert that will hit during odm transition case, since this is a valid case. Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Eric Bernstein <eric.bernstein@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
index d473708d5399..7802d603f796 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
@@ -1976,7 +1976,6 @@ int dcn20_validate_apply_pipe_split_flags(
/*If need split for odm but 4 way split already*/
if (split[i] == 2 && ((pipe->prev_odm_pipe && !pipe->prev_odm_pipe->prev_odm_pipe)
|| !pipe->next_odm_pipe)) {
- ASSERT(0); /* NOT expected yet */
merge[i] = true; /* 4 -> 2 ODM */
} else if (split[i] == 0 && pipe->prev_odm_pipe) {
ASSERT(0); /* NOT expected yet */