#include <linux/console.h>
#include <linux/fb.h>
#include <linux/vmalloc.h>
#include <drm/drm_drv.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_fb_helper.h>
#include <drm/drm_fourcc.h>
#include <drm/drm_framebuffer.h>
#include <drm/drm_gem_framebuffer_helper.h>
#include <drm/drm_modeset_helper.h>
#include "drm.h"
#include "gem.h"
static int tegra_fb_mmap(struct fb_info *info, struct vm_area_struct *vma)
{ … }
static void tegra_fbdev_fb_destroy(struct fb_info *info)
{ … }
static const struct fb_ops tegra_fb_ops = …;
static int tegra_fbdev_probe(struct drm_fb_helper *helper,
struct drm_fb_helper_surface_size *sizes)
{ … }
static const struct drm_fb_helper_funcs tegra_fb_helper_funcs = …;
static void tegra_fbdev_client_unregister(struct drm_client_dev *client)
{ … }
static int tegra_fbdev_client_restore(struct drm_client_dev *client)
{ … }
static int tegra_fbdev_client_hotplug(struct drm_client_dev *client)
{ … }
static const struct drm_client_funcs tegra_fbdev_client_funcs = …;
void tegra_fbdev_setup(struct drm_device *dev)
{ … }