OpenCloudOS-Kernel/drivers/gpu/drm/amd/display/modules
SivapiriyanKumarasamy b76dfbef06 drm/amd/display: Clip all remaining regamma points after first clipped point
[Why]
All values computed in the gamma curve after the first upperbound
clipped point will need to be clipped anyways. We can avoid
unnecessary computations and potential fixed point
overflow by instead clipping these values to 1 automatically.

[How]
Track if upper-bound clipping has been done, and clip all values after
this threshold is reached without computing the output gamma
point.

Signed-off-by: SivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-11-05 14:21:33 -05:00
..
color drm/amd/display: Clip all remaining regamma points after first clipped point 2018-11-05 14:21:33 -05:00
freesync drm/amd/display: Freesync does not engage on some displays 2018-11-05 14:20:41 -05:00
inc drm/amd/display: Add color bit info to freesync infoframe 2018-09-26 21:09:05 -05:00
info_packet drm/amd/display: Stereo 3D support in VSC 2018-09-26 21:09:07 -05:00
stats drm/amd/display: remove redundant null pointer check before kfree 2018-09-26 21:09:12 -05:00