aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-03-22 17:50:50 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-03-29 03:50:38 -0400
commit41292b1fa13a894c1108d4a1c7f8a59fbb307aa6 (patch)
treecdd761085b4e9e67955bfddb6fd51d0e574d03f2 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parent29dc0d1de18239cf3ef8bab578b8321ed340d81c (diff)
drm: Add acquire ctx parameter to ->page_flip(_target)
Again just going through the motions, no functional changes in here. Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Ben Skeggs <bskeggs@redhat.com> Cc: Russell King <linux@armlinux.org.uk> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Eric Anholt <eric@anholt.net> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Christian König <christian.koenig@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>t Link: http://patchwork.freedesktop.org/patch/msgid/20170322215058.8671-12-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index c12497bd3889..8573a818323f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -594,7 +594,8 @@ int amdgpu_crtc_set_config(struct drm_mode_set *set);
594int amdgpu_crtc_page_flip_target(struct drm_crtc *crtc, 594int amdgpu_crtc_page_flip_target(struct drm_crtc *crtc,
595 struct drm_framebuffer *fb, 595 struct drm_framebuffer *fb,
596 struct drm_pending_vblank_event *event, 596 struct drm_pending_vblank_event *event,
597 uint32_t page_flip_flags, uint32_t target); 597 uint32_t page_flip_flags, uint32_t target,
598 struct drm_modeset_acquire_ctx *ctx);
598void amdgpu_crtc_cleanup_flip_ctx(struct amdgpu_flip_work *work, 599void amdgpu_crtc_cleanup_flip_ctx(struct amdgpu_flip_work *work,
599 struct amdgpu_bo *new_abo); 600 struct amdgpu_bo *new_abo);
600int amdgpu_crtc_prepare_flip(struct drm_crtc *crtc, 601int amdgpu_crtc_prepare_flip(struct drm_crtc *crtc,