Commit 35b71a3f authored by Eric Yang's avatar Eric Yang Committed by Alex Deucher

drm/amd/display: always call set output tf

Temporary solution to fix gamma adjustment not
working.
Signed-off-by: default avatarEric Yang <Eric.Yang2@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e58d866e
...@@ -2058,8 +2058,14 @@ static void program_all_pipe_in_tree( ...@@ -2058,8 +2058,14 @@ static void program_all_pipe_in_tree(
if (cur_pipe_ctx->plane_state != pipe_ctx->plane_state) { if (cur_pipe_ctx->plane_state != pipe_ctx->plane_state) {
dc->hwss.set_input_transfer_func(pipe_ctx, pipe_ctx->plane_state); dc->hwss.set_input_transfer_func(pipe_ctx, pipe_ctx->plane_state);
dc->hwss.set_output_transfer_func(pipe_ctx, pipe_ctx->stream);
} }
/*
* TODO: This can be further optimized/cleaned up
* Always call this for now since it does memcmp inside before
* doing heavy calculation and programming
*/
dc->hwss.set_output_transfer_func(pipe_ctx, pipe_ctx->stream);
} }
if (dc->debug.sanity_checks) { if (dc->debug.sanity_checks) {
......
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