linux_dsm_epyc7002/drivers/gpu/drm/amd
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
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: drop the remaining uses of ring idx in messages 2018-11-05 14:21:31 -05:00
amdkfd drm/amdkfd: page_table_base already have the flags needed 2018-11-05 14:21:14 -05:00
display drm/amd/display: Clip all remaining regamma points after first clipped point 2018-11-05 14:21:33 -05:00
include drm/amdgpu: Remove unused function pointers 2018-11-05 14:21:08 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: remove duplicated includes 2018-11-05 14:21:18 -05:00