aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index b60346792bf8..c12497bd3889 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -595,6 +595,21 @@ int 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);
598void amdgpu_crtc_cleanup_flip_ctx(struct amdgpu_flip_work *work,
599 struct amdgpu_bo *new_abo);
600int amdgpu_crtc_prepare_flip(struct drm_crtc *crtc,
601 struct drm_framebuffer *fb,
602 struct drm_pending_vblank_event *event,
603 uint32_t page_flip_flags,
604 uint32_t target,
605 struct amdgpu_flip_work **work,
606 struct amdgpu_bo **new_abo);
607
608void amdgpu_crtc_submit_flip(struct drm_crtc *crtc,
609 struct drm_framebuffer *fb,
610 struct amdgpu_flip_work *work,
611 struct amdgpu_bo *new_abo);
612
598extern const struct drm_mode_config_funcs amdgpu_mode_funcs; 613extern const struct drm_mode_config_funcs amdgpu_mode_funcs;
599 614
600#endif 615#endif