drm: add an fb creation ioctl that takes a pixel format v5
[deliverable/linux.git] / include / drm / drm_crtc_helper.h
index 73b071203dcc8bf61d65a75bac74524ba579fbcb..b4abb33dbcd82efc4cdfa001ace7a19fd03ab126 100644 (file)
@@ -116,8 +116,10 @@ extern bool drm_helper_encoder_in_use(struct drm_encoder *encoder);
 
 extern void drm_helper_connector_dpms(struct drm_connector *connector, int mode);
 
+extern void drm_helper_get_fb_bpp_depth(uint32_t format, unsigned int *depth,
+                                       int *bpp);
 extern int drm_helper_mode_fill_fb_struct(struct drm_framebuffer *fb,
-                                         struct drm_mode_fb_cmd *mode_cmd);
+                                         struct drm_mode_fb_cmd2 *mode_cmd);
 
 static inline void drm_crtc_helper_add(struct drm_crtc *crtc,
                                       const struct drm_crtc_helper_funcs *funcs)
This page took 0.024756 seconds and 5 git commands to generate.