提交 9691a7a7 编写于 作者: M Martin Leung 提交者: Alex Deucher

drm/amd/display: unblock mcm_luts

why and how:
needed to fix bad assumption for enable mcm_luts
Reviewed-by: NRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: NMartin Leung <Martin.Leung@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 36939c94
......@@ -630,10 +630,9 @@ bool dcn32_set_input_transfer_func(struct dc *dc,
params = &dpp_base->degamma_params;
}
result = dpp_base->funcs->dpp_program_gamcor_lut(dpp_base, params);
dpp_base->funcs->dpp_program_gamcor_lut(dpp_base, params);
if (result &&
pipe_ctx->stream_res.opp &&
if (pipe_ctx->stream_res.opp &&
pipe_ctx->stream_res.opp->ctx &&
hws->funcs.set_mcm_luts)
result = hws->funcs.set_mcm_luts(pipe_ctx, plane_state);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册