linux/drivers/gpu/drm/i915/gt/intel_engine_pm.h

/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2019 Intel Corporation
 */

#ifndef INTEL_ENGINE_PM_H
#define INTEL_ENGINE_PM_H

#include "i915_drv.h"
#include "i915_request.h"
#include "intel_engine_types.h"
#include "intel_wakeref.h"
#include "intel_gt.h"
#include "intel_gt_pm.h"

static inline bool
intel_engine_pm_is_awake(const struct intel_engine_cs *engine)
{}

static inline void __intel_engine_pm_get(struct intel_engine_cs *engine)
{}

static inline void intel_engine_pm_get(struct intel_engine_cs *engine)
{}

static inline bool intel_engine_pm_get_if_awake(struct intel_engine_cs *engine)
{}

static inline void intel_engine_pm_might_get(struct intel_engine_cs *engine)
{}

static inline void intel_engine_pm_put(struct intel_engine_cs *engine)
{}

static inline void intel_engine_pm_put_async(struct intel_engine_cs *engine)
{}

static inline void intel_engine_pm_put_delay(struct intel_engine_cs *engine,
					     unsigned long delay)
{}

static inline void intel_engine_pm_flush(struct intel_engine_cs *engine)
{}

static inline void intel_engine_pm_might_put(struct intel_engine_cs *engine)
{}

static inline struct i915_request *
intel_engine_create_kernel_request(struct intel_engine_cs *engine)
{}

void intel_engine_init__pm(struct intel_engine_cs *engine);

void intel_engine_reset_pinned_contexts(struct intel_engine_cs *engine);

#endif /* INTEL_ENGINE_PM_H */