File Index
Files and directories
Sign in
FILE

i915_driver.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/i915/i915_driver.h C
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2019 Intel Corporation
 4 */
 5
 6#ifndef __I915_DRIVER_H__
 7#define __I915_DRIVER_H__
 8
 9#include <linux/pm.h>
10
11struct pci_dev;
12struct pci_device_id;
13struct drm_i915_private;
14struct drm_printer;
15struct intel_display_parent_interface;
16
17#define DRIVER_NAME		"i915"
18#define DRIVER_DESC		"Intel Graphics"
19
20extern const struct dev_pm_ops i915_pm_ops;
21
22int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
23void i915_driver_remove(struct drm_i915_private *i915);
24void i915_driver_shutdown(struct drm_i915_private *i915);
25
26int i915_driver_resume_switcheroo(struct drm_i915_private *i915);
27int i915_driver_suspend_switcheroo(struct drm_i915_private *i915, pm_message_t state);
28const struct intel_display_parent_interface *i915_driver_parent_interface(void);
29
30void
31i915_print_iommu_status(struct drm_i915_private *i915, struct drm_printer *p);
32
33#endif /* __I915_DRIVER_H__ */
~/ Read-only file preview.