From: Vikrant Mhaske Date: Thu, 27 Jul 2017 09:30:52 +0000 (+0800) Subject: drm/amd/display: Fix DCN compile errors X-Git-Tag: v4.19~2140^2~23^2~250 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49baf95740b4f233ea286ebbe7c1066c03f5dd3b;p=platform%2Fkernel%2Flinux-rpi.git drm/amd/display: Fix DCN compile errors Fix for DCN compiler errors caused due to various submits Signed-off-by: Charlene Liu Reviewed-by: Charlene Liu Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c index 2299bda..e1298d7 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c @@ -1475,6 +1475,8 @@ static void dcn10_pipe_control_lock( struct pipe_ctx *pipe, bool lock) { + struct mem_input *mi = NULL; + mi = dc->res_pool->mis[pipe->pipe_idx]; /* use TG master update lock to lock everything on the TG * therefore only top pipe need to lock */