Linux Audio

Check our new training course

Loading...
Note: File does not exist in v6.2.
 1/*
 2 * Copyright 2015 Freescale Semiconductor, Inc.
 3 *
 4 * Freescale DCU drm device driver
 5 *
 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.
10 */
11
12#include <drm/drmP.h>
13#include <drm/drm_fb_cma_helper.h>
14
15#include "fsl_dcu_drm_drv.h"
16
17/* initialize fbdev helper */
18void fsl_dcu_fbdev_init(struct drm_device *dev)
19{
20	struct fsl_dcu_drm_device *fsl_dev = dev_get_drvdata(dev->dev);
21
22	fsl_dev->fbdev = drm_fbdev_cma_init(dev, 24, 1, 1);
23}