From: Anthony Koo Date: Mon, 26 Mar 2018 20:29:51 +0000 (-0400) Subject: drm/amd/display: move color_transfer_func to color mod X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=28177772cbf693a6960e92bba1f08a0e78acb048;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: move color_transfer_func to color mod Signed-off-by: Anthony Koo Reviewed-by: Anthony Koo Reviewed-by: Aric Cyr Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 588672cbfbf2..0f566a1ba35b 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -333,19 +333,6 @@ enum { TRANSFER_FUNC_POINTS = 1025 }; -enum color_transfer_func { - transfer_func_unknown, - transfer_func_srgb, - transfer_func_bt709, - transfer_func_pq2084, - transfer_func_pq2084_interim, - transfer_func_linear_0_1, - transfer_func_linear_0_125, - transfer_func_dolbyvision, - transfer_func_gamma_22, - transfer_func_gamma_26 -}; - struct dc_hdr_static_metadata { /* display chromaticities and white point in units of 0.00001 */ unsigned int chromaticity_green_x; @@ -693,6 +680,7 @@ struct dc_cursor { struct dc_cursor_attributes attributes; }; + /******************************************************************************* * Interrupt interfaces ******************************************************************************/