mirror of https://gitee.com/openkylin/linux.git
drm/amd/display: Set default degamma to sRGB instead of bypass
Signed-off-by: Amy Zhang <Amy.Zhang@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
e0d7ce783a
commit
306dadf01a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue