]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: Save flip flags in drm_crtc_state
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Thu, 2 Feb 2017 21:56:29 +0000 (16:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Feb 2017 17:32:20 +0000 (12:32 -0500)
commit6f0ed1d8c6d928aeea26edba43848fca05d617a1
tree8272fa8208c6fe5cdb6ae3fd468a794ceeeea902
parent33425b6923332b5ba81a3ab421d5814d4fa9e3ee
drm/atomic: Save flip flags in drm_crtc_state

Allows using atomic flip helpers for drivers
using ASYNC flip.
Remove ASYNC_FLIP restriction in helpers and
caches the page flip flags in drm_crtc_state
to be used in the low level drivers.

v2:
Resending the patch since the original was broken.

v3:
Save flag in crtc_state instead of plane_state

v4:
Reset the flag before using again.

v5:
Fix type in header.
Rename the field to pageflip_flags.
Remove unrelated hunk.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1486072591-3893-2-git-send-email-Andrey.Grodzovsky@amd.com
drivers/gpu/drm/drm_atomic_helper.c
include/drm/drm_crtc.h