From ec9c37970569976638e1ac882230a26366b09849 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Fri, 26 Feb 2016 17:30:32 -0500 Subject: [PATCH 0871/1110] drm/amd/dal: Remove unnecessary SIGTRAP Signed-off-by: Andrey Grodzovsky Acked-by: Harry Wentland --- drivers/gpu/drm/amd/dal/dc/core/dc_resource.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c b/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c index 0414f3e..917e6a5 100644 --- a/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c +++ b/drivers/gpu/drm/amd/dal/dc/core/dc_resource.c @@ -438,13 +438,6 @@ bool resource_attach_surfaces_to_context( if (context->res_ctx.pipe_ctx[j].stream != DC_STREAM_TO_CORE(dc_target->streams[i])) continue; - if (k == surface_count) { - /* this means there are more pipes per stream - * than there are planes and makes no sense - */ - BREAK_TO_DEBUGGER(); - continue; - } context->res_ctx.pipe_ctx[j].surface = surface; k++; -- 2.7.4