linux/drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c

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

#include <linux/sort.h>

#include "i915_drv.h"

#include "intel_gt_requests.h"
#include "i915_selftest.h"
#include "selftest_engine_heartbeat.h"

static void reset_heartbeat(struct intel_engine_cs *engine)
{}

static int timeline_sync(struct intel_timeline *tl)
{}

static int engine_sync_barrier(struct intel_engine_cs *engine)
{}

struct pulse {};

static int pulse_active(struct i915_active *active)
{}

static void pulse_free(struct kref *kref)
{}

static void pulse_put(struct pulse *p)
{}

static void pulse_retire(struct i915_active *active)
{}

static struct pulse *pulse_create(void)
{}

static void pulse_unlock_wait(struct pulse *p)
{}

static int __live_idle_pulse(struct intel_engine_cs *engine,
			     int (*fn)(struct intel_engine_cs *cs))
{}

static int live_idle_flush(void *arg)
{}

static int live_idle_pulse(void *arg)
{}

static int __live_heartbeat_off(struct intel_engine_cs *engine)
{}

static int live_heartbeat_off(void *arg)
{}

int intel_heartbeat_live_selftests(struct drm_i915_private *i915)
{}

void st_engine_heartbeat_disable(struct intel_engine_cs *engine)
{}

void st_engine_heartbeat_enable(struct intel_engine_cs *engine)
{}

void st_engine_heartbeat_disable_no_pm(struct intel_engine_cs *engine)
{}

void st_engine_heartbeat_enable_no_pm(struct intel_engine_cs *engine)
{}