From: Amy Zhang Date: Fri, 13 Jan 2017 21:19:36 +0000 (-0500) Subject: drm/amd/display: Set default degamma to sRGB instead of bypass X-Git-Tag: v5.15~9960^2~23^2~763 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=306dadf01aba27bed2daa49a782b22586af64c93;p=platform%2Fkernel%2Flinux-starfive.git drm/amd/display: Set default degamma to sRGB instead of bypass Signed-off-by: Amy Zhang Acked-by: Harry Wentland Reviewed-by: Aric Cyr Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c index b51668e..ee393a1 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c @@ -255,7 +255,7 @@ static bool dce110_set_input_transfer_func( if (tf == NULL) { /* Default case if no input transfer function specified */ ipp->funcs->ipp_set_degamma(ipp, - IPP_DEGAMMA_MODE_BYPASS); + IPP_DEGAMMA_MODE_HW_sRGB); } else if (tf->public.type == TF_TYPE_PREDEFINED) { switch (tf->public.tf) { case TRANSFER_FUNCTION_SRGB: