diff options
author | David Francis <[email protected]> | 2019-02-11 14:15:19 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-03-19 15:04:03 -0500 |
commit | f91813992c343272813e707343b50f8d06383659 (patch) | |
tree | 2c0a92d54cae8161f6b030154c185642e207bb30 /drivers/fpga/fpga-bridge.c | |
parent | 87d44f62d51fddce9dd7c0a7badc3e6723b30e9d (diff) |
drm/amd/display: Re-add custom degamma support
[Why]
The dc_gamma_type CUSTOM_GAMMA is used to represent degamma
mappings passed in by drm. This type of gamma must be interpolated
into a transfer function by apply_1d_lut. The line in
mod_color_calculate_degamma_params that handled this case
was erroneously removed.
[How]
For CUSTOM_GAMMA degamma, calculate the lut as before.
Signed-off-by: David Francis <[email protected]>
Reviewed-by: Krunoslav Kovac <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions