#include "i915_drv.h"
#include "intel_breadcrumbs.h"
#include "intel_context.h"
#include "intel_engine.h"
#include "intel_engine_heartbeat.h"
#include "intel_engine_pm.h"
#include "intel_gt.h"
#include "intel_gt_pm.h"
#include "intel_rc6.h"
#include "intel_ring.h"
#include "shmem_utils.h"
#include "intel_gt_regs.h"
static void intel_gsc_idle_msg_enable(struct intel_engine_cs *engine)
{ … }
static void dbg_poison_ce(struct intel_context *ce)
{ … }
static int __engine_unpark(struct intel_wakeref *wf)
{ … }
static void duration(struct dma_fence *fence, struct dma_fence_cb *cb)
{ … }
static void
__queue_and_release_pm(struct i915_request *rq,
struct intel_timeline *tl,
struct intel_engine_cs *engine)
{ … }
static bool switch_to_kernel_context(struct intel_engine_cs *engine)
{ … }
static void call_idle_barriers(struct intel_engine_cs *engine)
{ … }
static int __engine_park(struct intel_wakeref *wf)
{ … }
static const struct intel_wakeref_ops wf_ops = …;
void intel_engine_init__pm(struct intel_engine_cs *engine)
{ … }
void intel_engine_reset_pinned_contexts(struct intel_engine_cs *engine)
{ … }
#if IS_ENABLED(CONFIG_DRM_I915_SELFTEST)
#include "selftest_engine_pm.c"
#endif