drm/amd/display: Default to linear output gamma
authorKrunoslav Kovac <Krunoslav.Kovac@amd.com>
Tue, 8 Jan 2019 23:32:34 +0000 (18:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:36 +0000 (16:15 -0500)
commit130ef745f771999ec2fa2f76487892fe9e0c1c4f
tree1175dfede004ce35deadda9511a14a8b145edbec
parent3cec41769d2182e629692a3262cc8b24ec972b04
drm/amd/display: Default to linear output gamma

[Why] Our output TF calculation doesn't work if no user-specified gamma
correction. Normally, user provides this, but driver sohuld just assume
default (linear) gamma otherwise.

[How] Remove output TF dependency on user gamma being provided.

Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Acked-by: Sivapiriyan Kumarasamy <Sivapiriyan.Kumarasamy@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/color/color_gamma.c