Commit 9691a7a7 authored by Martin Leung's avatar Martin Leung Committed by Alex Deucher

drm/amd/display: unblock mcm_luts

why and how:
needed to fix bad assumption for enable mcm_luts
Reviewed-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: default avatarMartin Leung <Martin.Leung@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment