--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c @@ -1747,6 +1747,7 @@ static void get_position(struct pipe_ctx **pipe_ctx, static void set_static_screen_control(struct pipe_ctx **pipe_ctx, int num_pipes, const struct dc_static_screen_events *events) { + struct dc *dc = pipe_ctx[0]->stream->ctx->dc; unsigned int i; unsigned int value = 0; @@ -1759,7 +1760,8 @@ static void set_static_screen_control(struct pipe_ctx **pipe_ctx, if (events->force_trigger) value |= 0x1; - value |= 0x84; + if (dc->fbc_compressor) + value |= 0x84; for (i = 0; i < num_pipes; i++) pipe_ctx[i]->stream_res.tg->funcs-> -- 2.13.6