diff options
Diffstat (limited to 'include/drm/drm_plane_helper.h')
| -rw-r--r-- | include/drm/drm_plane_helper.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/drm/drm_plane_helper.h b/include/drm/drm_plane_helper.h index a185392cafeb..31c11d36fae6 100644 --- a/include/drm/drm_plane_helper.h +++ b/include/drm/drm_plane_helper.h | |||
| @@ -52,7 +52,8 @@ extern int drm_crtc_init(struct drm_device *dev, | |||
| 52 | * @prepare_fb: prepare a framebuffer for use by the plane | 52 | * @prepare_fb: prepare a framebuffer for use by the plane |
| 53 | * @cleanup_fb: cleanup a framebuffer when it's no longer used by the plane | 53 | * @cleanup_fb: cleanup a framebuffer when it's no longer used by the plane |
| 54 | * @atomic_check: check that a given atomic state is valid and can be applied | 54 | * @atomic_check: check that a given atomic state is valid and can be applied |
| 55 | * @atomic_update: apply an atomic state to the plane | 55 | * @atomic_update: apply an atomic state to the plane (mandatory) |
| 56 | * @atomic_disable: disable the plane | ||
| 56 | * | 57 | * |
| 57 | * The helper operations are called by the mid-layer CRTC helper. | 58 | * The helper operations are called by the mid-layer CRTC helper. |
| 58 | */ | 59 | */ |
| @@ -66,6 +67,8 @@ struct drm_plane_helper_funcs { | |||
| 66 | struct drm_plane_state *state); | 67 | struct drm_plane_state *state); |
| 67 | void (*atomic_update)(struct drm_plane *plane, | 68 | void (*atomic_update)(struct drm_plane *plane, |
| 68 | struct drm_plane_state *old_state); | 69 | struct drm_plane_state *old_state); |
| 70 | void (*atomic_disable)(struct drm_plane *plane, | ||
| 71 | struct drm_plane_state *old_state); | ||
| 69 | }; | 72 | }; |
| 70 | 73 | ||
| 71 | static inline void drm_plane_helper_add(struct drm_plane *plane, | 74 | static inline void drm_plane_helper_add(struct drm_plane *plane, |
