#include <linux/clk.h>
#include <linux/component.h>
#include <linux/dma-buf.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h>
#include <drm/drm_drv.h>
#include <drm/drm_fb_dma_helper.h>
#include <drm/drm_fbdev_dma.h>
#include <drm/drm_gem.h>
#include <drm/drm_gem_dma_helper.h>
#include <drm/drm_gem_framebuffer_helper.h>
#include <drm/drm_managed.h>
#include <drm/drm_of.h>
#include <drm/drm_probe_helper.h>
#include <drm/drm_panel.h>
#include <drm/drm_vblank.h>
#include "mcde_drm.h"
#define DRIVER_DESC …
#define MCDE_PID …
#define MCDE_PID_METALFIX_VERSION_SHIFT …
#define MCDE_PID_METALFIX_VERSION_MASK …
#define MCDE_PID_DEVELOPMENT_VERSION_SHIFT …
#define MCDE_PID_DEVELOPMENT_VERSION_MASK …
#define MCDE_PID_MINOR_VERSION_SHIFT …
#define MCDE_PID_MINOR_VERSION_MASK …
#define MCDE_PID_MAJOR_VERSION_SHIFT …
#define MCDE_PID_MAJOR_VERSION_MASK …
static const struct drm_mode_config_funcs mcde_mode_config_funcs = …;
static const struct drm_mode_config_helper_funcs mcde_mode_config_helpers = …;
static irqreturn_t mcde_irq(int irq, void *data)
{ … }
static int mcde_modeset_init(struct drm_device *drm)
{ … }
DEFINE_DRM_GEM_DMA_FOPS(drm_fops);
static const struct drm_driver mcde_drm_driver = …;
static int mcde_drm_bind(struct device *dev)
{ … }
static void mcde_drm_unbind(struct device *dev)
{ … }
static const struct component_master_ops mcde_drm_comp_ops = …;
static struct platform_driver *const mcde_component_drivers[] = …;
static int mcde_probe(struct platform_device *pdev)
{ … }
static void mcde_remove(struct platform_device *pdev)
{ … }
static void mcde_shutdown(struct platform_device *pdev)
{ … }
static const struct of_device_id mcde_of_match[] = …;
static struct platform_driver mcde_driver = …;
static struct platform_driver *const component_drivers[] = …;
static int __init mcde_drm_register(void)
{ … }
static void __exit mcde_drm_unregister(void)
{ … }
module_init(…) …;
module_exit(mcde_drm_unregister);
MODULE_ALIAS(…) …;
MODULE_DESCRIPTION(…);
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;