]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/display: Enabling VSR on 4K display causes black screen
authorCharlene Liu <charlene.liu@amd.com>
Fri, 30 Jun 2017 00:25:23 +0000 (20:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:08:27 +0000 (18:08 -0400)
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c

index f404e4e5e4ea05c148f3e47c8788fe689b4d2af0..cc67707b56d03767e5532e0baffd1321e7d9f360 100644 (file)
@@ -1819,7 +1819,7 @@ static void program_all_pipe_in_tree(
                pipe_ctx->tg->funcs->set_blank(pipe_ctx->tg, !is_pipe_tree_visible(pipe_ctx));
        }
 
-       if (pipe_ctx->surface->public.visible) {
+       if (pipe_ctx->surface != NULL) {
                dcn10_power_on_fe(dc, pipe_ctx, context);
                update_dchubp_dpp(dc, pipe_ctx, context);
        }