Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Copyright © 2019 Intel Corporation
0004  */
0005 
0006 #ifndef __I915_DRIVER_H__
0007 #define __I915_DRIVER_H__
0008 
0009 #include <linux/pm.h>
0010 
0011 struct pci_dev;
0012 struct pci_device_id;
0013 struct drm_i915_private;
0014 struct drm_printer;
0015 
0016 #define DRIVER_NAME     "i915"
0017 #define DRIVER_DESC     "Intel Graphics"
0018 #define DRIVER_DATE     "20201103"
0019 #define DRIVER_TIMESTAMP    1604406085
0020 
0021 extern const struct dev_pm_ops i915_pm_ops;
0022 
0023 int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
0024 void i915_driver_remove(struct drm_i915_private *i915);
0025 void i915_driver_shutdown(struct drm_i915_private *i915);
0026 
0027 int i915_driver_resume_switcheroo(struct drm_i915_private *i915);
0028 int i915_driver_suspend_switcheroo(struct drm_i915_private *i915, pm_message_t state);
0029 
0030 void
0031 i915_print_iommu_status(struct drm_i915_private *i915, struct drm_printer *p);
0032 
0033 #endif /* __I915_DRIVER_H__ */