i915_driver.h 885 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: MIT */
  2. /*
  3. * Copyright © 2019 Intel Corporation
  4. */
  5. #ifndef __I915_DRIVER_H__
  6. #define __I915_DRIVER_H__
  7. #include <linux/pm.h>
  8. struct pci_dev;
  9. struct pci_device_id;
  10. struct drm_i915_private;
  11. struct drm_printer;
  12. #define DRIVER_NAME "i915"
  13. #define DRIVER_DESC "Intel Graphics"
  14. #define DRIVER_DATE "20201103"
  15. #define DRIVER_TIMESTAMP 1604406085
  16. extern const struct dev_pm_ops i915_pm_ops;
  17. int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
  18. void i915_driver_remove(struct drm_i915_private *i915);
  19. void i915_driver_shutdown(struct drm_i915_private *i915);
  20. int i915_driver_resume_switcheroo(struct drm_i915_private *i915);
  21. int i915_driver_suspend_switcheroo(struct drm_i915_private *i915, pm_message_t state);
  22. void
  23. i915_print_iommu_status(struct drm_i915_private *i915, struct drm_printer *p);
  24. #endif /* __I915_DRIVER_H__ */