A couple of very simple tests to ensure that the basic properties of per-engine busyness accounting [0% and 100% busy] are faithful. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200617130916.15261-1-chris@chris-wilson.co.uk
15 lines
353 B
C
15 lines
353 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2020 Intel Corporation
|
|
*/
|
|
|
|
#ifndef SELFTEST_ENGINE_HEARTBEAT_H
|
|
#define SELFTEST_ENGINE_HEARTBEAT_H
|
|
|
|
struct intel_engine_cs;
|
|
|
|
void st_engine_heartbeat_disable(struct intel_engine_cs *engine);
|
|
void st_engine_heartbeat_enable(struct intel_engine_cs *engine);
|
|
|
|
#endif /* SELFTEST_ENGINE_HEARTBEAT_H */
|