diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-05 04:32:44 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-10 04:59:35 -0400 |
commit | 3461b30b3e171e16498f3d7bc59ab703aec475c8 (patch) | |
tree | 03e202bd9def50b8ee28d7e925ca0b4bd61beb0f /include/drm/drm_plane_helper.h | |
parent | ead8610d42105a3d01f755522f11b96c60dc648f (diff) |
drm/plane-helper: unexport drm_primary_helper_create_plane
We shouldn't tempt driver writers into using this since it uses a
default format list which is likely wrong. And when that's done we can
simplify the code a bit, too.
Noticed while reviewing a patch from Laurent.
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/drm/drm_plane_helper.h')
-rw-r--r-- | include/drm/drm_plane_helper.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/drm/drm_plane_helper.h b/include/drm/drm_plane_helper.h index 72ddab02ebd9..e48157a5a59c 100644 --- a/include/drm/drm_plane_helper.h +++ b/include/drm/drm_plane_helper.h | |||
@@ -100,10 +100,6 @@ extern int drm_primary_helper_update(struct drm_plane *plane, | |||
100 | extern int drm_primary_helper_disable(struct drm_plane *plane); | 100 | extern int drm_primary_helper_disable(struct drm_plane *plane); |
101 | extern void drm_primary_helper_destroy(struct drm_plane *plane); | 101 | extern void drm_primary_helper_destroy(struct drm_plane *plane); |
102 | extern const struct drm_plane_funcs drm_primary_helper_funcs; | 102 | extern const struct drm_plane_funcs drm_primary_helper_funcs; |
103 | extern struct drm_plane *drm_primary_helper_create_plane(struct drm_device *dev, | ||
104 | const uint32_t *formats, | ||
105 | int num_formats); | ||
106 | |||
107 | 103 | ||
108 | int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, | 104 | int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, |
109 | struct drm_framebuffer *fb, | 105 | struct drm_framebuffer *fb, |