summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2011-12-13 20:19:36 -0600
committerDave Airlie <airlied@redhat.com>2012-01-05 10:00:16 +0000
commit0a7eb243db7864640134f8c57e6856f8eb3ed7c6 (patch)
tree93580b87b27d341801f9724d0daba75e933d9412 /include/drm
parenta9971157b6c550644fe19551c21f4b05f7e9475a (diff)
downloadlinux-stable-0a7eb243db7864640134f8c57e6856f8eb3ed7c6.tar.gz
linux-stable-0a7eb243db7864640134f8c57e6856f8eb3ed7c6.tar.bz2
linux-stable-0a7eb243db7864640134f8c57e6856f8eb3ed7c6.zip
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')
-rw-r--r--include/drm/drm_crtc.h3
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,
struct drm_plane *plane,
unsigned long possible_crtcs,
const struct drm_plane_funcs *funcs,
- const uint32_t *formats, uint32_t format_count);
+ const uint32_t *formats, uint32_t format_count,
+ bool priv);
extern void drm_plane_cleanup(struct drm_plane *plane);
extern void drm_encoder_cleanup(struct drm_encoder *encoder);