#include <linux/console.h>
#include <linux/of.h>
#include <linux/module.h>
#include <linux/pm_runtime.h>
#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_crtc.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_module.h>
#include <drm/drm_probe_helper.h>
#include "tidss_dispc.h"
#include "tidss_drv.h"
#include "tidss_kms.h"
#include "tidss_irq.h"
int tidss_runtime_get(struct tidss_device *tidss)
{ … }
void tidss_runtime_put(struct tidss_device *tidss)
{ … }
static int __maybe_unused tidss_pm_runtime_suspend(struct device *dev)
{ … }
static int __maybe_unused tidss_pm_runtime_resume(struct device *dev)
{ … }
static int __maybe_unused tidss_suspend(struct device *dev)
{ … }
static int __maybe_unused tidss_resume(struct device *dev)
{ … }
static __maybe_unused const struct dev_pm_ops tidss_pm_ops = …;
static void tidss_release(struct drm_device *ddev)
{ … }
DEFINE_DRM_GEM_DMA_FOPS(tidss_fops);
static const struct drm_driver tidss_driver = …;
static int tidss_probe(struct platform_device *pdev)
{ … }
static void tidss_remove(struct platform_device *pdev)
{ … }
static void tidss_shutdown(struct platform_device *pdev)
{ … }
static const struct of_device_id tidss_of_table[] = …;
MODULE_DEVICE_TABLE(of, tidss_of_table);
static struct platform_driver tidss_platform_driver = …;
drm_module_platform_driver(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;