OSDN Git Service

drm/amd/display: Refactor color module
authorAnthony Koo <Anthony.Koo@amd.com>
Mon, 9 Apr 2018 19:57:47 +0000 (14:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:42:54 +0000 (13:42 -0500)
Remove some unnecessary TF definitions from update structures

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@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_stream.h

index ed3c39f..d7e6d53 100644 (file)
@@ -67,7 +67,6 @@ struct dc_stream_state {
        enum dc_dither_option dither_option;
 
        enum view_3d_format view_format;
-       enum color_transfer_func output_tf;
 
        bool ignore_msa_timing_param;
 
@@ -113,9 +112,9 @@ struct dc_stream_update {
        struct rect src;
        struct rect dst;
        struct dc_transfer_func *out_transfer_func;
-       enum color_transfer_func color_output_tf;
        struct dc_info_packet *hdr_static_metadata;
        unsigned int *abm_level;
+
        unsigned long long *periodic_fn_vsync_delta;
 };