linux/drivers/gpu/drm/sti/sti_drv.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) STMicroelectronics SA 2014
 * Author: Benjamin Gaignard <[email protected]> for STMicroelectronics.
 */

#include <linux/component.h>
#include <linux/debugfs.h>
#include <linux/dma-mapping.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>

#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_debugfs.h>
#include <drm/drm_drv.h>
#include <drm/drm_fbdev_dma.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 "sti_drv.h"
#include "sti_plane.h"

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

#define STI_MAX_FB_HEIGHT
#define STI_MAX_FB_WIDTH

static int sti_drm_fps_get(void *data, u64 *val)
{}

static int sti_drm_fps_set(void *data, u64 val)
{}

DEFINE_SIMPLE_ATTRIBUTE();

static int sti_drm_fps_dbg_show(struct seq_file *s, void *data)
{}

static struct drm_info_list sti_drm_dbg_list[] =;

static void sti_drm_dbg_init(struct drm_minor *minor)
{}

static const struct drm_mode_config_funcs sti_mode_config_funcs =;

static void sti_mode_config_init(struct drm_device *dev)
{}

DEFINE_DRM_GEM_DMA_FOPS(sti_driver_fops);

static const struct drm_driver sti_driver =;

static int sti_init(struct drm_device *ddev)
{}

static void sti_cleanup(struct drm_device *ddev)
{}

static int sti_bind(struct device *dev)
{}

static void sti_unbind(struct device *dev)
{}

static const struct component_master_ops sti_ops =;

static int sti_platform_probe(struct platform_device *pdev)
{}

static void sti_platform_remove(struct platform_device *pdev)
{}

static void sti_platform_shutdown(struct platform_device *pdev)
{}

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

static struct platform_driver sti_platform_driver =;

static struct platform_driver * const drivers[] =;

static int sti_drm_init(void)
{}
module_init();

static void sti_drm_exit(void)
{}
module_exit(sti_drm_exit);

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