Well except the destroy helper, which isn't really a primary helper but generally useful, if mislabelled. v2: Keep some of the nice comments about the limitations of the primarmy plane helpers, and put them into the kerneldoc for drm_crtc_init() (Sam).
Showing the changes to include (1 of 3 files). Show all
Unified · Split
| @@ -49,16 +49,6 @@ int drm_plane_helper_check_update(struct drm_plane *plane, · 48 unmodified lines | |||
| 49 | bool can_position, | 49 | bool can_position, |
| 50 | bool can_update_disabled, | 50 | bool can_update_disabled, |
| 51 | bool *visible); | 51 | bool *visible); |
| 52 | int drm_primary_helper_update(struct drm_plane *plane, | ||
| 53 | struct drm_crtc *crtc, | ||
| 54 | struct drm_framebuffer *fb, | ||
| 55 | int crtc_x, int crtc_y, | ||
| 56 | unsigned int crtc_w, unsigned int crtc_h, | ||
| 57 | uint32_t src_x, uint32_t src_y, | ||
| 58 | uint32_t src_w, uint32_t src_h, | ||
| 59 | struct drm_modeset_acquire_ctx *ctx); | ||
| 60 | int drm_primary_helper_disable(struct drm_plane *plane, | ||
| 61 | struct drm_modeset_acquire_ctx *ctx); | ||
| 62 | void drm_primary_helper_destroy(struct drm_plane *plane); | 52 | void drm_primary_helper_destroy(struct drm_plane *plane); |
| 63 | extern const struct drm_plane_funcs drm_primary_helper_funcs; | 53 | extern const struct drm_plane_funcs drm_primary_helper_funcs; |
| 64 | 54 | ||