Commit 306dadf0 authored by Amy Zhang's avatar Amy Zhang Committed by Alex Deucher

drm/amd/display: Set default degamma to sRGB instead of bypass

Signed-off-by: default avatarAmy Zhang <Amy.Zhang@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: default avatarAric Cyr <Aric.Cyr@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e0d7ce78
...@@ -255,7 +255,7 @@ static bool dce110_set_input_transfer_func( ...@@ -255,7 +255,7 @@ static bool dce110_set_input_transfer_func(
if (tf == NULL) { if (tf == NULL) {
/* Default case if no input transfer function specified */ /* Default case if no input transfer function specified */
ipp->funcs->ipp_set_degamma(ipp, ipp->funcs->ipp_set_degamma(ipp,
IPP_DEGAMMA_MODE_BYPASS); IPP_DEGAMMA_MODE_HW_sRGB);
} else if (tf->public.type == TF_TYPE_PREDEFINED) { } else if (tf->public.type == TF_TYPE_PREDEFINED) {
switch (tf->public.tf) { switch (tf->public.tf) {
case TRANSFER_FUNCTION_SRGB: case TRANSFER_FUNCTION_SRGB:
......
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