OSDN Git Service

drm/amd/display: Use hardware max low point when sampling OTF
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Fri, 2 Feb 2018 14:46:41 +0000 (09:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:20:05 +0000 (14:20 -0500)
commit08616da569751be1b9ce6128a28930847670c80d
treec784c5e2f9e2ffa01956a9093de48691e0dc76b6
parent3a97f3fff110d17ecc957ea99d16a8877890b4eb
drm/amd/display: Use hardware max low point when sampling OTF

The MAX_LOW_POINT macro should reflect the maximum low point within
hardware. Otherwise, sampling for the hardware points from the output
transfer function (OTF) will be incorrect.

Also, fix usage of MAX_LOW_POINT accordingly.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c