summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/selftests/igt_reset.h
blob: 363bd853e50fc4ae08abe5a25c57600370c429bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * SPDX-License-Identifier: MIT
 *
 * Copyright © 2018 Intel Corporation
 */

#ifndef __I915_SELFTESTS_IGT_RESET_H__
#define __I915_SELFTESTS_IGT_RESET_H__

#include "../i915_drv.h"

void igt_global_reset_lock(struct drm_i915_private *i915);
void igt_global_reset_unlock(struct drm_i915_private *i915);
bool igt_force_reset(struct drm_i915_private *i915);

#endif
OpenPOWER on IntegriCloud