]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8a35064e036fad79aa584334f7761e6f7cab9fc
tree97cc0de197d3c056e4bcf2e56847771f442b08af
parent4099600b53c1b8a49008460c10c0c8091ca0f224
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