drm/amd/display: Add transfer function to dc_surface_update
authorSivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Thu, 2 Nov 2017 19:28:32 +0000 (15:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:33 +0000 (12:47 -0500)
Signed-off-by: SivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h

index 86a9c92..acb3659 100644 (file)
@@ -475,6 +475,8 @@ struct dc_surface_update {
         */
        /* gamma TO BE REMOVED */
        struct dc_gamma *gamma;
+       enum color_transfer_func color_input_tf;
+       enum color_transfer_func color_output_tf;
        struct dc_transfer_func *in_transfer_func;
 
        struct csc_transform *input_csc_color_matrix;