#include "gem/i915_gem_pm.h"
#include "gem/i915_gem_ttm_pm.h"
#include "gt/intel_gt.h"
#include "gt/intel_gt_pm.h"
#include "gt/intel_gt_requests.h"
#include "i915_driver.h"
#include "i915_drv.h"
#if defined(CONFIG_X86)
#include <asm/smp.h>
#else
#define wbinvd_on_all_cpus …
#endif
void i915_gem_suspend(struct drm_i915_private *i915)
{ … }
static int lmem_restore(struct drm_i915_private *i915, u32 flags)
{ … }
static int lmem_suspend(struct drm_i915_private *i915, u32 flags)
{ … }
static void lmem_recover(struct drm_i915_private *i915)
{ … }
int i915_gem_backup_suspend(struct drm_i915_private *i915)
{ … }
void i915_gem_suspend_late(struct drm_i915_private *i915)
{ … }
int i915_gem_freeze(struct drm_i915_private *i915)
{ … }
int i915_gem_freeze_late(struct drm_i915_private *i915)
{ … }
void i915_gem_resume(struct drm_i915_private *i915)
{ … }