drm/amd/display: Fix incorrect end slope of EETF
authorSivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Tue, 2 Oct 2018 12:44:04 +0000 (08:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:20:51 +0000 (14:20 -0500)
commitd76e393f4cef8151c0a2178b6abeacecb9da4875
tree97cc0de197d3c056e4bcf2e56847771f442b08af
parentfa44604cca2a653ca66f344062db729c8167434b
drm/amd/display: Fix incorrect end slope of EETF

Force the E2 to dc_fixpt_one when E1 exceeds that value. This is the
correct thing to do to avoid corruption.

Signed-off-by: SivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/color/color_gamma.c