drm/amd/display: Use pflip prepare and submit parts (v2)
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Wed, 9 Nov 2016 10:41:51 +0000 (05:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:10:03 +0000 (17:10 -0400)
commit858058da47a557b6c0211830d530045c1c8e62ab
tree6f39503e681bc5c592363f758ccfc67e82d622c6
parent721d30cf8363247c0c6cb44514e88a5811151c01
drm/amd/display: Use pflip prepare and submit parts (v2)

Use new functions so flip failures can be gracefully handled

v2:
Avoid -EINVAL returned from amdgpu_crtc_prepare_flip in some
error cases, it is not allowed according to expected
return values for atomic_commit hook.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c