drm/vc4: Use the fbdev_cma helpers

Keep the fbdev_cma pointer around so we can use it on hotplog and close
to ensure the frame buffer console is in a useful state.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Derek Foreman
2015-07-02 11:19:54 -05:00
committed by Eric Anholt
parent c8b75bca92
commit 48666d5631
3 changed files with 31 additions and 3 deletions

View File

@@ -15,6 +15,8 @@ struct vc4_dev {
struct vc4_hdmi *hdmi;
struct vc4_hvs *hvs;
struct vc4_crtc *crtc[3];
struct drm_fbdev_cma *fbdev;
};
static inline struct vc4_dev *