|
@@ -2859,6 +2859,7 @@ static int page_flip_common(
|
|
|
* @fb: DRM framebuffer
|
|
|
* @event: optional DRM event to signal upon completion
|
|
|
* @flags: flip flags for non-vblank sync'ed updates
|
|
|
+ * @ctx: lock acquisition context
|
|
|
*
|
|
|
* Provides a default &drm_crtc_funcs.page_flip implementation
|
|
|
* using the atomic driver interface.
|
|
@@ -2872,7 +2873,8 @@ static int page_flip_common(
|
|
|
int drm_atomic_helper_page_flip(struct drm_crtc *crtc,
|
|
|
struct drm_framebuffer *fb,
|
|
|
struct drm_pending_vblank_event *event,
|
|
|
- uint32_t flags)
|
|
|
+ uint32_t flags,
|
|
|
+ struct drm_modeset_acquire_ctx *ctx)
|
|
|
{
|
|
|
struct drm_plane *plane = crtc->primary;
|
|
|
struct drm_atomic_state *state;
|
|
@@ -2920,6 +2922,7 @@ EXPORT_SYMBOL(drm_atomic_helper_page_flip);
|
|
|
* @event: optional DRM event to signal upon completion
|
|
|
* @flags: flip flags for non-vblank sync'ed updates
|
|
|
* @target: specifying the target vblank period when the flip to take effect
|
|
|
+ * @ctx: lock acquisition context
|
|
|
*
|
|
|
* Provides a default &drm_crtc_funcs.page_flip_target implementation.
|
|
|
* Similar to drm_atomic_helper_page_flip() with extra parameter to specify
|
|
@@ -2933,7 +2936,8 @@ int drm_atomic_helper_page_flip_target(
|
|
|
struct drm_framebuffer *fb,
|
|
|
struct drm_pending_vblank_event *event,
|
|
|
uint32_t flags,
|
|
|
- uint32_t target)
|
|
|
+ uint32_t target,
|
|
|
+ struct drm_modeset_acquire_ctx *ctx)
|
|
|
{
|
|
|
struct drm_plane *plane = crtc->primary;
|
|
|
struct drm_atomic_state *state;
|