]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98464fbcb4ae347d84ef6bcef09f83595ce4c1c1
treec784c5e2f9e2ffa01956a9093de48691e0dc76b6
parent2106e0f1f04e51953de8e5457a577a0f26c7aa71
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