提交 95481515 编写于 作者: T Tony Cheng 提交者: Alex Deucher

drm/amd/display: enable color gamma programming

Signed-off-by: NTony Cheng <tony.cheng@amd.com>
Reviewed-by: NYongqiang Sun <yongqiang.sun@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 ed151940
......@@ -1498,9 +1498,6 @@ void dc_update_surfaces_for_stream(struct dc *dc,
}
}
if (dc->debug.disable_color_module)
continue; /* skip below color updates */
if (updates[i].gamma &&
updates[i].gamma != surface->public.gamma_correction) {
if (surface->public.gamma_correction != NULL)
......@@ -1579,9 +1576,6 @@ void dc_update_surfaces_for_stream(struct dc *dc,
if (cur_pipe_ctx->surface == pipe_ctx->surface)
is_new_pipe_surface = false;
if (dc->debug.disable_color_module)
continue; /* skip below color updates */
if (is_new_pipe_surface ||
updates[i].in_transfer_func)
core_dc->hwss.set_input_transfer_func(
......
......@@ -147,7 +147,6 @@ struct dc_debug {
bool disable_dfs_bypass;
bool disable_clock_gate;
bool disable_dmcu;
bool disable_color_module;
};
struct dc {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册