linux/drivers/gpu/drm/kmb/kmb_drv.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright © 2018-2020 Intel Corporation
 */

#include <linux/clk.h>
#include <linux/module.h>
#include <linux/of_graph.h>
#include <linux/of_platform.h>
#include <linux/of_reserved_mem.h>
#include <linux/mfd/syscon.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.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_gem_framebuffer_helper.h>
#include <drm/drm_module.h>
#include <drm/drm_probe_helper.h>
#include <drm/drm_vblank.h>

#include "kmb_drv.h"
#include "kmb_dsi.h"
#include "kmb_regs.h"

static int kmb_display_clk_enable(struct kmb_drm_private *kmb)
{}

static int kmb_initialize_clocks(struct kmb_drm_private *kmb, struct device *dev)
{}

static void kmb_display_clk_disable(struct kmb_drm_private *kmb)
{}

static void __iomem *kmb_map_mmio(struct drm_device *drm,
				  struct platform_device *pdev,
				  char *name)
{}

static int kmb_hw_init(struct drm_device *drm, unsigned long flags)
{}

static const struct drm_mode_config_funcs kmb_mode_config_funcs =;

static int kmb_setup_mode_config(struct drm_device *drm)
{}

static irqreturn_t handle_lcd_irq(struct drm_device *dev)
{}

/* IRQ handler */
static irqreturn_t kmb_isr(int irq, void *arg)
{}

static void kmb_irq_reset(struct drm_device *drm)
{}

static int kmb_irq_install(struct drm_device *drm, unsigned int irq)
{}

static void kmb_irq_uninstall(struct drm_device *drm)
{}

DEFINE_DRM_GEM_DMA_FOPS(fops);

static const struct drm_driver kmb_driver =;

static void kmb_remove(struct platform_device *pdev)
{}

static int kmb_probe(struct platform_device *pdev)
{}

static const struct of_device_id kmb_of_match[] =;

MODULE_DEVICE_TABLE(of, kmb_of_match);

static int __maybe_unused kmb_pm_suspend(struct device *dev)
{}

static int __maybe_unused kmb_pm_resume(struct device *dev)
{}

static SIMPLE_DEV_PM_OPS(kmb_pm_ops, kmb_pm_suspend, kmb_pm_resume);

static struct platform_driver kmb_platform_driver =;

drm_module_platform_driver();

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