diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0156-drm-amd-display-Set-default-degamma-to-sRGB-instead-.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0156-drm-amd-display-Set-default-degamma-to-sRGB-instead-.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0156-drm-amd-display-Set-default-degamma-to-sRGB-instead-.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0156-drm-amd-display-Set-default-degamma-to-sRGB-instead-.patch new file mode 100644 index 00000000..2e8aec9f --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0156-drm-amd-display-Set-default-degamma-to-sRGB-instead-.patch @@ -0,0 +1,30 @@ +From a811165df7773470b21605217005cf7aea948852 Mon Sep 17 00:00:00 2001 +From: Amy Zhang <Amy.Zhang@amd.com> +Date: Fri, 13 Jan 2017 16:19:36 -0500 +Subject: [PATCH 0156/4131] 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> +--- + drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +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: +-- +2.7.4 + |