drm: Pass in new and old plane state to prepare_fb and cleanup_fb
[deliverable/linux.git] / include / drm / drm_plane_helper.h
index 31c11d36fae6e1ca285f56111bcc8ff93770db51..72ddab02ebd920a4773fa20cb3df4c8252e15b01 100644 (file)
@@ -59,9 +59,11 @@ extern int drm_crtc_init(struct drm_device *dev,
  */
 struct drm_plane_helper_funcs {
        int (*prepare_fb)(struct drm_plane *plane,
-                         struct drm_framebuffer *fb);
+                         struct drm_framebuffer *fb,
+                         const struct drm_plane_state *new_state);
        void (*cleanup_fb)(struct drm_plane *plane,
-                          struct drm_framebuffer *fb);
+                          struct drm_framebuffer *fb,
+                          const struct drm_plane_state *old_state);
 
        int (*atomic_check)(struct drm_plane *plane,
                            struct drm_plane_state *state);
This page took 0.025568 seconds and 5 git commands to generate.