linux/drivers/gpu/drm/sprd/sprd_drm.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2020 Unisoc Inc.
 */

#include <linux/component.h>
#include <linux/dma-mapping.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/of_graph.h>
#include <linux/platform_device.h>

#include <drm/drm_atomic_helper.h>
#include <drm/drm_drv.h>
#include <drm/drm_gem_dma_helper.h>
#include <drm/drm_gem_framebuffer_helper.h>
#include <drm/drm_of.h>
#include <drm/drm_probe_helper.h>
#include <drm/drm_vblank.h>

#include "sprd_drm.h"

#define DRIVER_NAME
#define DRIVER_DESC
#define DRIVER_DATE
#define DRIVER_MAJOR
#define DRIVER_MINOR

static const struct drm_mode_config_helper_funcs sprd_drm_mode_config_helper =;

static const struct drm_mode_config_funcs sprd_drm_mode_config_funcs =;

static void sprd_drm_mode_config_init(struct drm_device *drm)
{}

DEFINE_DRM_GEM_DMA_FOPS(sprd_drm_fops);

static struct drm_driver sprd_drm_drv =;

static int sprd_drm_bind(struct device *dev)
{}

static void sprd_drm_unbind(struct device *dev)
{}

static const struct component_master_ops drm_component_ops =;

static int sprd_drm_probe(struct platform_device *pdev)
{}

static void sprd_drm_remove(struct platform_device *pdev)
{}

static void sprd_drm_shutdown(struct platform_device *pdev)
{}

static const struct of_device_id drm_match_table[] =;
MODULE_DEVICE_TABLE(of, drm_match_table);

static struct platform_driver sprd_drm_driver =;

static struct platform_driver *sprd_drm_drivers[]  =;

static int __init sprd_drm_init(void)
{}

static void __exit sprd_drm_exit(void)
{}

module_init();
module_exit(sprd_drm_exit);

MODULE_AUTHOR();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();