linux_dsm_epyc7002/drivers/gpu/drm/amd/display/modules
David Francis f91813992c 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 <David.Francis@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>
2019-03-19 15:04:03 -05:00
..
color drm/amd/display: Re-add custom degamma support 2019-03-19 15:04:03 -05:00
freesync drm/amd/display: Pass app_tf by value rather than by reference 2019-02-27 22:23:55 -05:00
inc drm/amd/display: Pass app_tf by value rather than by reference 2019-02-27 22:23:55 -05:00
info_packet drm/amd/display: Info frame cleanup 2018-11-30 12:02:28 -05:00
power drm/amd/display: Increase precision for backlight curve 2019-02-19 15:58:26 -05:00
stats drm/amd/display: remove redundant null pointer check before kfree 2018-09-26 21:09:12 -05:00