提交 1f0997f1 编写于 作者: C Charlene Liu 提交者: Alex Deucher

drm/amd/display: not override the FMT setting set by VBIOS for eDP

Signed-off-by: NCharlene Liu <charlene.liu@amd.com>
Reviewed-by: NKrunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 b97a88cd
......@@ -1082,11 +1082,14 @@ static enum dc_status apply_single_controller_ctx_to_hw(
/*vbios crtc_source_selection and encoder_setup will override fmt_C*/
if (pipe_ctx->stream->signal != SIGNAL_TYPE_EDP &&
pipe_ctx->stream->signal != SIGNAL_TYPE_LVDS) {
/*for embedded panel, don't override VBIOS's setting*/
pipe_ctx->stream_res.opp->funcs->opp_program_fmt(
pipe_ctx->stream_res.opp,
&stream->bit_depth_params,
&stream->clamping);
}
if (dc_is_dp_signal(pipe_ctx->stream->signal))
pipe_ctx->stream_res.stream_enc->funcs->dp_set_stream_attribute(
pipe_ctx->stream_res.stream_enc,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册