drm/amd/display: Unify loop for surface update and page flip.
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Mon, 15 May 2017 22:55:38 +0000 (18:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:07:16 +0000 (18:07 -0400)
commitbdc79f8e5dfaeb83dd3a1b609aff25712250cc1e
tree778712a94b9f870fa5df3f7559682eb99796f4ac
parent1185da086903e87259fd54c20c04098bcefa9da3
drm/amd/display: Unify loop for surface update and page flip.

Remove extra loop we have for page flips and do flips in same loop we do
for surface create/update.
Add documentation for synchronization between commits on different crtcs.
Rename function to have DM prefix.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@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_types.c