drm/amd/display: Refactor to move gamma correction to module
authorAnthony Koo <Anthony.Koo@amd.com>
Fri, 16 Dec 2016 15:43:21 +0000 (10:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:05:41 +0000 (17:05 -0400)
commitc5ea922237f7dda25c488810a7c1ee9deadc9684
treed9ae6be9f7d5c7dadacba448759cacb62cb33b3f
parentcb9a5a90eee4a02ea529b3101645bb959efaf4a8
drm/amd/display: Refactor to move gamma correction to module

Refactor part 4 - Moving input gamma correction programming into color module

DM will translate to dc_gamma structure, but programming will be moved into
the color module. Later, this will allow gamma correction to be added on top of
in/out transfer function curves.

Signed-off-by: Anthony Koo <anthony.koo@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/color/color.c
drivers/gpu/drm/amd/display/modules/inc/mod_color.h