提交 18f7a1e4 编写于 作者: Y Yongqiang Sun 提交者: Alex Deucher

drm/amd/display: Power on front end during set mode.

Signed-off-by: NYongqiang Sun <yongqiang.sun@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 8c895313
...@@ -1722,6 +1722,9 @@ enum dc_status dce110_apply_ctx_to_hw( ...@@ -1722,6 +1722,9 @@ enum dc_status dce110_apply_ctx_to_hw(
context, context,
dc); dc);
if (dc->hwss.power_on_front_end)
dc->hwss.power_on_front_end(dc, pipe_ctx, context);
if (DC_OK != status) if (DC_OK != status)
return status; return status;
} }
......
...@@ -104,6 +104,11 @@ struct hw_sequencer_funcs { ...@@ -104,6 +104,11 @@ struct hw_sequencer_funcs {
enum pipe_gating_control power_gating); enum pipe_gating_control power_gating);
void (*power_down_front_end)(struct core_dc *dc, struct pipe_ctx *pipe); void (*power_down_front_end)(struct core_dc *dc, struct pipe_ctx *pipe);
void (*power_on_front_end)(struct core_dc *dc,
struct pipe_ctx *pipe,
struct validate_context *context);
void (*update_info_frame)(struct pipe_ctx *pipe_ctx); void (*update_info_frame)(struct pipe_ctx *pipe_ctx);
void (*enable_stream)(struct pipe_ctx *pipe_ctx); void (*enable_stream)(struct pipe_ctx *pipe_ctx);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册