The macros are more at home in i915_driver.[ch]. v2: Rebase Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220209123121.3337496-1-jani.nikula@intel.com
30 lines
780 B
C
30 lines
780 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __I915_DRIVER_H__
|
|
#define __I915_DRIVER_H__
|
|
|
|
#include <linux/pm.h>
|
|
|
|
struct pci_dev;
|
|
struct pci_device_id;
|
|
struct drm_i915_private;
|
|
|
|
#define DRIVER_NAME "i915"
|
|
#define DRIVER_DESC "Intel Graphics"
|
|
#define DRIVER_DATE "20201103"
|
|
#define DRIVER_TIMESTAMP 1604406085
|
|
|
|
extern const struct dev_pm_ops i915_pm_ops;
|
|
|
|
int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
|
|
void i915_driver_remove(struct drm_i915_private *i915);
|
|
void i915_driver_shutdown(struct drm_i915_private *i915);
|
|
|
|
int i915_driver_resume_switcheroo(struct drm_i915_private *i915);
|
|
int i915_driver_suspend_switcheroo(struct drm_i915_private *i915, pm_message_t state);
|
|
|
|
#endif /* __I915_DRIVER_H__ */
|