linux/drivers/gpu/drm/i915/intel_wakeref.c

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

#include <linux/wait_bit.h>

#include "intel_runtime_pm.h"
#include "intel_wakeref.h"
#include "i915_drv.h"

int __intel_wakeref_get_first(struct intel_wakeref *wf)
{}

static void ____intel_wakeref_put_last(struct intel_wakeref *wf)
{}

void __intel_wakeref_put_last(struct intel_wakeref *wf, unsigned long flags)
{}

static void __intel_wakeref_put_work(struct work_struct *wrk)
{}

void __intel_wakeref_init(struct intel_wakeref *wf,
			  struct drm_i915_private *i915,
			  const struct intel_wakeref_ops *ops,
			  struct intel_wakeref_lockclass *key,
			  const char *name)
{}

int intel_wakeref_wait_for_idle(struct intel_wakeref *wf)
{}

static void wakeref_auto_timeout(struct timer_list *t)
{}

void intel_wakeref_auto_init(struct intel_wakeref_auto *wf,
			     struct drm_i915_private *i915)
{}

void intel_wakeref_auto(struct intel_wakeref_auto *wf, unsigned long timeout)
{}

void intel_wakeref_auto_fini(struct intel_wakeref_auto *wf)
{}

void intel_ref_tracker_show(struct ref_tracker_dir *dir,
			    struct drm_printer *p)
{}