drm/amd/display: Use DGAM ROM or RAM
authorVitaly Prosyak <vitaly.prosyak@amd.com>
Wed, 18 Jul 2018 20:10:10 +0000 (15:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:09:58 +0000 (11:09 -0500)
commitdc6c981d202733fd5718d4db627f7d85fee651eb
tree1b3d8a9016b36817da97aa1ed5d361261234ca4b
parentd02e07948fcff46a7a48f8747260941d7290774b
drm/amd/display: Use DGAM ROM or RAM

[Why]
Optimize gamma programming

[How]
Use ROM for optimization when it is possible.
Use RAM only when it is necessary.

Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
drivers/gpu/drm/amd/display/modules/color/color_gamma.h