OSDN Git Service

drm/amd/display: Fix warning about misaligned code
authorHarry Wentland <harry.wentland@amd.com>
Tue, 16 Jan 2018 22:15:25 +0000 (17:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:44 +0000 (14:18 -0500)
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c

index 420bc2d..0023754 100644 (file)
@@ -2316,8 +2316,8 @@ void core_link_enable_stream(
        if (pipe_ctx->stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST)
                allocate_mst_payload(pipe_ctx);
 
-               core_dc->hwss.unblank_stream(pipe_ctx,
-                       &pipe_ctx->stream->sink->link->cur_link_settings);
+       core_dc->hwss.unblank_stream(pipe_ctx,
+               &pipe_ctx->stream->sink->link->cur_link_settings);
 }
 
 void core_link_disable_stream(struct pipe_ctx *pipe_ctx, int option)