158471f63SJani Nikula /* SPDX-License-Identifier: MIT */ 258471f63SJani Nikula /* 358471f63SJani Nikula * Copyright © 2019 Intel Corporation 458471f63SJani Nikula */ 558471f63SJani Nikula 658471f63SJani Nikula #ifndef __I915_DRIVER_H__ 758471f63SJani Nikula #define __I915_DRIVER_H__ 858471f63SJani Nikula 958471f63SJani Nikula #include <linux/pm.h> 1058471f63SJani Nikula 1158471f63SJani Nikula struct pci_dev; 1258471f63SJani Nikula struct pci_device_id; 1358471f63SJani Nikula struct drm_i915_private; 1458471f63SJani Nikula 1558471f63SJani Nikula extern const struct dev_pm_ops i915_pm_ops; 1658471f63SJani Nikula 1758471f63SJani Nikula int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent); 1858471f63SJani Nikula void i915_driver_remove(struct drm_i915_private *i915); 1958471f63SJani Nikula void i915_driver_shutdown(struct drm_i915_private *i915); 2058471f63SJani Nikula 21*b8d65b8aSJani Nikula int i915_driver_resume_switcheroo(struct drm_i915_private *i915); 22*b8d65b8aSJani Nikula int i915_driver_suspend_switcheroo(struct drm_i915_private *i915, pm_message_t state); 2358471f63SJani Nikula 2458471f63SJani Nikula #endif /* __I915_DRIVER_H__ */ 25