drm/amd/display: Fix Regamma end point
authorAnthony Koo <Anthony.Koo@amd.com>
Mon, 19 Dec 2016 20:16:12 +0000 (15:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:06:27 +0000 (17:06 -0400)
commit6f3f8d48664d0cecc559ea8c093838c13ba21192
tree39bcb58ae8e1872d23ea96642747f9d293035fd8
parent5ce0183cdd00d9c9e57405fa5a06d2a97b747aeb
drm/amd/display: Fix Regamma end point

1. HW register programmed to wrong value
2. End slope for PQ case not calculated correctly

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/dce/dce_opp.c