|
43 | 43 | * planes.
|
44 | 44 | */
|
45 | 45 |
|
46 |
| -extern int drm_crtc_init(struct drm_device *dev, |
47 |
| - struct drm_crtc *crtc, |
48 |
| - const struct drm_crtc_funcs *funcs); |
| 46 | +int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc, |
| 47 | + const struct drm_crtc_funcs *funcs); |
49 | 48 |
|
50 | 49 | /**
|
51 | 50 | * drm_plane_helper_funcs - helper operations for CRTCs
|
@@ -79,26 +78,26 @@ static inline void drm_plane_helper_add(struct drm_plane *plane,
|
79 | 78 | plane->helper_private = funcs;
|
80 | 79 | }
|
81 | 80 |
|
82 |
| -extern int drm_plane_helper_check_update(struct drm_plane *plane, |
83 |
| - struct drm_crtc *crtc, |
84 |
| - struct drm_framebuffer *fb, |
85 |
| - struct drm_rect *src, |
86 |
| - struct drm_rect *dest, |
87 |
| - const struct drm_rect *clip, |
88 |
| - int min_scale, |
89 |
| - int max_scale, |
90 |
| - bool can_position, |
91 |
| - bool can_update_disabled, |
92 |
| - bool *visible); |
93 |
| -extern int drm_primary_helper_update(struct drm_plane *plane, |
94 |
| - struct drm_crtc *crtc, |
95 |
| - struct drm_framebuffer *fb, |
96 |
| - int crtc_x, int crtc_y, |
97 |
| - unsigned int crtc_w, unsigned int crtc_h, |
98 |
| - uint32_t src_x, uint32_t src_y, |
99 |
| - uint32_t src_w, uint32_t src_h); |
100 |
| -extern int drm_primary_helper_disable(struct drm_plane *plane); |
101 |
| -extern void drm_primary_helper_destroy(struct drm_plane *plane); |
| 81 | +int drm_plane_helper_check_update(struct drm_plane *plane, |
| 82 | + struct drm_crtc *crtc, |
| 83 | + struct drm_framebuffer *fb, |
| 84 | + struct drm_rect *src, |
| 85 | + struct drm_rect *dest, |
| 86 | + const struct drm_rect *clip, |
| 87 | + int min_scale, |
| 88 | + int max_scale, |
| 89 | + bool can_position, |
| 90 | + bool can_update_disabled, |
| 91 | + bool *visible); |
| 92 | +int drm_primary_helper_update(struct drm_plane *plane, |
| 93 | + struct drm_crtc *crtc, |
| 94 | + struct drm_framebuffer *fb, |
| 95 | + int crtc_x, int crtc_y, |
| 96 | + unsigned int crtc_w, unsigned int crtc_h, |
| 97 | + uint32_t src_x, uint32_t src_y, |
| 98 | + uint32_t src_w, uint32_t src_h); |
| 99 | +int drm_primary_helper_disable(struct drm_plane *plane); |
| 100 | +void drm_primary_helper_destroy(struct drm_plane *plane); |
102 | 101 | extern const struct drm_plane_funcs drm_primary_helper_funcs;
|
103 | 102 |
|
104 | 103 | int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc,
|
|
0 commit comments