summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAmy Zhang <Amy.Zhang@amd.com>2017-01-13 16:19:36 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:10:44 -0400
commit306dadf01aba27bed2daa49a782b22586af64c93 (patch)
treec0b35b603a776e753d82147be18e788d32df6ac6 /drivers
parente0d7ce783a88824cc7e3af0f1aa2d1076364cbf4 (diff)
downloadlinux-stable-306dadf01aba27bed2daa49a782b22586af64c93.tar.gz
linux-stable-306dadf01aba27bed2daa49a782b22586af64c93.tar.bz2
linux-stable-306dadf01aba27bed2daa49a782b22586af64c93.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c2
1 files changed, 1 insertions, 1 deletions
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 b51668e3bb52..ee393a168c84 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: