diff options
author | Stefan Agner <stefan@agner.ch> | 2016-02-11 17:28:32 -0800 |
---|---|---|
committer | Stefan Agner <stefan@agner.ch> | 2016-02-11 18:07:18 -0800 |
commit | 4781cbb343706f816b3e388574265a4656c30ae0 (patch) | |
tree | 3391633b02171c8fffd83176c9fd95c897844fd8 /include | |
parent | 96f62b1cc70c104573712aeb8a33ce4350a95794 (diff) |
drm: add drm_fbdev_cma_get_helper
Add helper to get the drm_fb_helper struct of a CMA framebuffer
object (struct drm_fbdev_cma). This is useful to use other
fb_helper functions like drm_fb_helper_set_suspend.
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drm_fb_cma_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_fb_cma_helper.h b/include/drm/drm_fb_cma_helper.h index c54cf3d4a03f..5612984baa99 100644 --- a/include/drm/drm_fb_cma_helper.h +++ b/include/drm/drm_fb_cma_helper.h @@ -12,6 +12,7 @@ struct drm_mode_fb_cmd2; struct drm_fbdev_cma *drm_fbdev_cma_init(struct drm_device *dev, unsigned int preferred_bpp, unsigned int num_crtc, unsigned int max_conn_count); +struct drm_fb_helper *drm_fbdev_cma_get_helper(struct drm_fbdev_cma *fbdev_cma); void drm_fbdev_cma_fini(struct drm_fbdev_cma *fbdev_cma); void drm_fbdev_cma_restore_mode(struct drm_fbdev_cma *fbdev_cma); |