]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/drm/drm_atomic_helper.h
dax: coordinate locking for offsets in PMD range
[karo-tx-linux.git] / include / drm / drm_atomic_helper.h
index f86682825d68844892ea137adf02f72df00490f0..7ff92b09fd9c423059872d00eb3aa039d6f2b5b9 100644 (file)
@@ -45,8 +45,9 @@ int drm_atomic_helper_commit(struct drm_device *dev,
                             struct drm_atomic_state *state,
                             bool nonblock);
 
-void drm_atomic_helper_wait_for_fences(struct drm_device *dev,
-                                       struct drm_atomic_state *state);
+int drm_atomic_helper_wait_for_fences(struct drm_device *dev,
+                                       struct drm_atomic_state *state,
+                                       bool pre_swap);
 bool drm_atomic_helper_framebuffer_changed(struct drm_device *dev,
                                           struct drm_atomic_state *old_state,
                                           struct drm_crtc *crtc);