2 * Copyright 2015 Freescale Semiconductor, Inc.
4 * Freescale DCU drm device driver
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
13 #include <drm/drm_fb_cma_helper.h>
15 #include "fsl_dcu_drm_drv.h"
17 /* initialize fbdev helper */
18 void fsl_dcu_fbdev_init(struct drm_device
*dev
)
20 struct fsl_dcu_drm_device
*fsl_dev
= dev_get_drvdata(dev
->dev
);
22 fsl_dev
->fbdev
= drm_fbdev_cma_init(dev
, 24, 1, 1);