aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2012-04-05 14:35:15 -0400
committerDave Airlie <airlied@redhat.com>2012-04-20 07:37:11 -0400
commit141670e9b4356b59b5b39a99e10ac0118d12b16d (patch)
treebe9a6888f93cccae323f623ac0e523356c25792b /include/drm
parentae85226ebe474c9ecfc257191edca184b70ffbc2 (diff)
drm: Move drm_format_num_planes() to drm_crtc.c
There will be a need for this function in drm_crtc.c later. This avoids making drm_crtc.c depend on drm_crtc_helper.c. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_crtc.h2
-rw-r--r--include/drm/drm_crtc_helper.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index e250eda4e3a8..9dd3ed85547d 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -1026,4 +1026,6 @@ extern int drm_mode_destroy_dumb_ioctl(struct drm_device *dev,
1026 1026
1027extern void drm_fb_get_bpp_depth(uint32_t format, unsigned int *depth, 1027extern void drm_fb_get_bpp_depth(uint32_t format, unsigned int *depth,
1028 int *bpp); 1028 int *bpp);
1029extern int drm_format_num_planes(uint32_t format);
1030
1029#endif /* __DRM_CRTC_H__ */ 1031#endif /* __DRM_CRTC_H__ */
diff --git a/include/drm/drm_crtc_helper.h b/include/drm/drm_crtc_helper.h
index 37515d1afab3..3add00e03388 100644
--- a/include/drm/drm_crtc_helper.h
+++ b/include/drm/drm_crtc_helper.h
@@ -145,6 +145,4 @@ extern void drm_helper_hpd_irq_event(struct drm_device *dev);
145extern void drm_kms_helper_poll_disable(struct drm_device *dev); 145extern void drm_kms_helper_poll_disable(struct drm_device *dev);
146extern void drm_kms_helper_poll_enable(struct drm_device *dev); 146extern void drm_kms_helper_poll_enable(struct drm_device *dev);
147 147
148extern int drm_format_num_planes(uint32_t format);
149
150#endif 148#endif