drm/amd/display: Optimize front end programming.
authorYongqiang Sun <yongqiang.sun@amd.com>
Wed, 8 Nov 2017 19:50:06 +0000 (14:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:44 +0000 (12:47 -0500)
commita4e6d14ebe80ee53e295540c51dfb1352d7069a8
tree455c4b3c8eee420848565aadf1231f05964f5065
parent105f6ab86cc26eaa3ee9b4845d90c8b6a0571534
drm/amd/display: Optimize front end programming.

for video scaling changes,
Reduce reg access count from 1044 to 447, duration time
from 4.6ms to 3ms.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/dcn10/dcn10_hw_sequencer.c