Commit ff1374c9 authored by Yongqiang Sun's avatar Yongqiang Sun Committed by Alex Deucher

drm/amd/display: Move output_tf to stream_state/update

Signed-off-by: default avatarYongqiang Sun <yongqiang.sun@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 b339743b
...@@ -497,7 +497,6 @@ struct dc_surface_update { ...@@ -497,7 +497,6 @@ struct dc_surface_update {
/* gamma TO BE REMOVED */ /* gamma TO BE REMOVED */
struct dc_gamma *gamma; struct dc_gamma *gamma;
enum color_transfer_func color_input_tf; enum color_transfer_func color_input_tf;
enum color_transfer_func color_output_tf;
struct dc_transfer_func *in_transfer_func; struct dc_transfer_func *in_transfer_func;
struct csc_transform *input_csc_color_matrix; struct csc_transform *input_csc_color_matrix;
......
...@@ -65,6 +65,7 @@ struct dc_stream_state { ...@@ -65,6 +65,7 @@ struct dc_stream_state {
enum dc_dither_option dither_option; enum dc_dither_option dither_option;
enum view_3d_format view_format; enum view_3d_format view_format;
enum color_transfer_func output_tf;
bool ignore_msa_timing_param; bool ignore_msa_timing_param;
/* TODO: custom INFO packets */ /* TODO: custom INFO packets */
...@@ -103,6 +104,7 @@ struct dc_stream_update { ...@@ -103,6 +104,7 @@ struct dc_stream_update {
struct rect dst; struct rect dst;
struct dc_transfer_func *out_transfer_func; struct dc_transfer_func *out_transfer_func;
struct dc_hdr_static_metadata *hdr_static_metadata; struct dc_hdr_static_metadata *hdr_static_metadata;
enum color_transfer_func color_output_tf;
}; };
bool dc_is_stream_unchanged( bool dc_is_stream_unchanged(
......
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