drm/amd/display: Implement PQ curve based on output transfer function
authorAnthony Koo <Anthony.Koo@amd.com>
Fri, 16 Dec 2016 17:12:03 +0000 (12:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:05:44 +0000 (17:05 -0400)
commite63d86dc9b59d72cf25c6bc75e641bceed4fcd40
tree16e6ca0e6b6b495478b0a31147c9c8cfdf230160
parentc5ea922237f7dda25c488810a7c1ee9deadc9684
drm/amd/display: Implement PQ curve based on output transfer function

Refactor part 5 - Regamma programming should be dependent on Output
transfer function type

Program sRGB gamma or PQ transfer function based on output transfer
function.

Signed-off-by: Anthony Koo <anthony.koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/gamma_calcs.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/inc/gamma_calcs.h