mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 13:00:33 +07:00
f6470c9bcc
Split igt_atomic_reset selftests into separate full & engines parts, so we can move former to the dedicated reset selftests file. While here change engines test to loop first over atomic phases and then loop over available engines. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190522193203.23932-3-michal.wajdeczko@intel.com
17 lines
368 B
C
17 lines
368 B
C
/*
|
|
* 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
|