linux/drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * R-Car Display Unit DRM driver
 *
 * Copyright (C) 2013-2015 Renesas Electronics Corporation
 *
 * Contact: Laurent Pinchart ([email protected])
 */

#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/slab.h>
#include <linux/wait.h>

#include <drm/drm_atomic_helper.h>
#include <drm/drm_drv.h>
#include <drm/drm_fbdev_dma.h>
#include <drm/drm_gem_dma_helper.h>
#include <drm/drm_managed.h>
#include <drm/drm_probe_helper.h>

#include "rcar_du_drv.h"
#include "rcar_du_kms.h"

/* -----------------------------------------------------------------------------
 * Device Information
 */

static const struct rcar_du_device_info rzg1_du_r8a7743_info =;

static const struct rcar_du_device_info rzg1_du_r8a7745_info =;

static const struct rcar_du_device_info rzg1_du_r8a77470_info =;

static const struct rcar_du_device_info rcar_du_r8a774a1_info =;

static const struct rcar_du_device_info rcar_du_r8a774b1_info =;

static const struct rcar_du_device_info rcar_du_r8a774c0_info =;

static const struct rcar_du_device_info rcar_du_r8a774e1_info =;

static const struct rcar_du_device_info rcar_du_r8a7779_info =;

static const struct rcar_du_device_info rcar_du_r8a7790_info =;

/* M2-W (r8a7791) and M2-N (r8a7793) are identical */
static const struct rcar_du_device_info rcar_du_r8a7791_info =;

static const struct rcar_du_device_info rcar_du_r8a7792_info =;

static const struct rcar_du_device_info rcar_du_r8a7794_info =;

static const struct rcar_du_device_info rcar_du_r8a7795_info =;

static const struct rcar_du_device_info rcar_du_r8a7796_info =;

static const struct rcar_du_device_info rcar_du_r8a77965_info =;

static const struct rcar_du_device_info rcar_du_r8a77970_info =;

static const struct rcar_du_device_info rcar_du_r8a7799x_info =;

static const struct rcar_du_device_info rcar_du_r8a779a0_info =;

static const struct rcar_du_device_info rcar_du_r8a779g0_info =;

static const struct of_device_id rcar_du_of_table[] =;

MODULE_DEVICE_TABLE(of, rcar_du_of_table);

const char *rcar_du_output_name(enum rcar_du_output output)
{}

/* -----------------------------------------------------------------------------
 * DRM operations
 */

DEFINE_DRM_GEM_DMA_FOPS(rcar_du_fops);

static const struct drm_driver rcar_du_driver =;

/* -----------------------------------------------------------------------------
 * Power management
 */

static int rcar_du_pm_suspend(struct device *dev)
{}

static int rcar_du_pm_resume(struct device *dev)
{}

static DEFINE_SIMPLE_DEV_PM_OPS(rcar_du_pm_ops,
				rcar_du_pm_suspend, rcar_du_pm_resume);

/* -----------------------------------------------------------------------------
 * Platform driver
 */

static void rcar_du_remove(struct platform_device *pdev)
{}

static void rcar_du_shutdown(struct platform_device *pdev)
{}

static int rcar_du_probe(struct platform_device *pdev)
{}

static struct platform_driver rcar_du_platform_driver =;

module_platform_driver();

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