drm/amd/display: Refactor dc_update_planes_and_stream.
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Tue, 12 Sep 2017 17:56:57 +0000 (13:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:41:21 +0000 (16:41 -0400)
commitbc6828e0e6b6c5bcafbb093f9fe475f63dbe47e5
tree049787e39d80313f059ba2dfce5fd8f60d9cf2eb
parentfc17235fe65b0179969e0793a086cba93afcc078
drm/amd/display: Refactor dc_update_planes_and_stream.

Split update_planes_and_stream_state (split Software and Hardware
programming) as the state is already build, so we only need to
program the hardware

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h