linux/drivers/gpu/drm/hyperv/hyperv_drm_drv.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2021 Microsoft
 */

#include <linux/efi.h>
#include <linux/hyperv.h>
#include <linux/module.h>
#include <linux/pci.h>

#include <drm/drm_aperture.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_drv.h>
#include <drm/drm_fbdev_shmem.h>
#include <drm/drm_gem_shmem_helper.h>
#include <drm/drm_simple_kms_helper.h>

#include "hyperv_drm.h"

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

DEFINE_DRM_GEM_FOPS(hv_fops);

static struct drm_driver hyperv_driver =;

static int hyperv_pci_probe(struct pci_dev *pdev,
			    const struct pci_device_id *ent)
{}

static void hyperv_pci_remove(struct pci_dev *pdev)
{}

static const struct pci_device_id hyperv_pci_tbl[] =;

/*
 * PCI stub to support gen1 VM.
 */
static struct pci_driver hyperv_pci_driver =;

static int hyperv_setup_vram(struct hyperv_drm_device *hv,
			     struct hv_device *hdev)
{}

static int hyperv_vmbus_probe(struct hv_device *hdev,
			      const struct hv_vmbus_device_id *dev_id)
{}

static void hyperv_vmbus_remove(struct hv_device *hdev)
{}

static void hyperv_vmbus_shutdown(struct hv_device *hdev)
{}

static int hyperv_vmbus_suspend(struct hv_device *hdev)
{}

static int hyperv_vmbus_resume(struct hv_device *hdev)
{}

static const struct hv_vmbus_device_id hyperv_vmbus_tbl[] =;

static struct hv_driver hyperv_hv_driver =;

static int __init hyperv_init(void)
{}

static void __exit hyperv_exit(void)
{}

module_init();
module_exit(hyperv_exit);

MODULE_DEVICE_TABLE(pci, hyperv_pci_tbl);
MODULE_DEVICE_TABLE(vmbus, hyperv_vmbus_tbl);
MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();