]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Refactor to remove diags specific rgam func
authorAnthony Koo <Anthony.Koo@amd.com>
Fri, 10 Jan 2020 19:44:28 +0000 (14:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jan 2020 21:55:27 +0000 (16:55 -0500)
commit93d9c0e092796ef199903fd37fca4ae90ad4895a
treea7f7c21ff457aa9cd141740cb02bcaceb8b24252
parentb8871e20e507a7fb002579524b411e6d490386b0
drm/amd/display: Refactor to remove diags specific rgam func

[Why]
It has duplicate code for building regamma curve

[How]
Remove the duplicate code and use the same function for building regamma

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@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
drivers/gpu/drm/amd/display/modules/color/color_gamma.h