diff options
author | Rob Clark <rob@ti.com> | 2011-12-13 21:19:36 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-01-05 05:00:16 -0500 |
commit | 0a7eb243db7864640134f8c57e6856f8eb3ed7c6 (patch) | |
tree | 93580b87b27d341801f9724d0daba75e933d9412 /include/drm/drm_crtc.h | |
parent | a9971157b6c550644fe19551c21f4b05f7e9475a (diff) |
drm: add support for private planes
In cases where the scanout hw is sufficiently similar between "overlay"
and traditional crtc layers, it might be convenient to allow the driver
to create internal drm_plane helper objects used by the drm_crtc
implementation, rather than duplicate code between the plane and crtc.
A private plane is not exposed to userspace.
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r-- | include/drm/drm_crtc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 2deb6f99f950..63e4fce67288 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -829,7 +829,8 @@ extern int drm_plane_init(struct drm_device *dev, | |||
829 | struct drm_plane *plane, | 829 | struct drm_plane *plane, |
830 | unsigned long possible_crtcs, | 830 | unsigned long possible_crtcs, |
831 | const struct drm_plane_funcs *funcs, | 831 | const struct drm_plane_funcs *funcs, |
832 | const uint32_t *formats, uint32_t format_count); | 832 | const uint32_t *formats, uint32_t format_count, |
833 | bool priv); | ||
833 | extern void drm_plane_cleanup(struct drm_plane *plane); | 834 | extern void drm_plane_cleanup(struct drm_plane *plane); |
834 | 835 | ||
835 | extern void drm_encoder_cleanup(struct drm_encoder *encoder); | 836 | extern void drm_encoder_cleanup(struct drm_encoder *encoder); |