1*58471f63SJani Nikula /* SPDX-License-Identifier: MIT */ 2*58471f63SJani Nikula /* 3*58471f63SJani Nikula * Copyright © 2019 Intel Corporation 4*58471f63SJani Nikula */ 5*58471f63SJani Nikula 6*58471f63SJani Nikula #ifndef __I915_DRIVER_H__ 7*58471f63SJani Nikula #define __I915_DRIVER_H__ 8*58471f63SJani Nikula 9*58471f63SJani Nikula #include <linux/pm.h> 10*58471f63SJani Nikula 11*58471f63SJani Nikula struct pci_dev; 12*58471f63SJani Nikula struct pci_device_id; 13*58471f63SJani Nikula struct drm_i915_private; 14*58471f63SJani Nikula 15*58471f63SJani Nikula extern const struct dev_pm_ops i915_pm_ops; 16*58471f63SJani Nikula 17*58471f63SJani Nikula int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent); 18*58471f63SJani Nikula void i915_driver_remove(struct drm_i915_private *i915); 19*58471f63SJani Nikula void i915_driver_shutdown(struct drm_i915_private *i915); 20*58471f63SJani Nikula 21*58471f63SJani Nikula int i915_resume_switcheroo(struct drm_i915_private *i915); 22*58471f63SJani Nikula int i915_suspend_switcheroo(struct drm_i915_private *i915, pm_message_t state); 23*58471f63SJani Nikula 24*58471f63SJani Nikula #endif /* __I915_DRIVER_H__ */ 25