![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 /* 0003 * Copyright © 2018 Intel Corporation 0004 */ 0005 0006 #include "i915_selftest.h" 0007 #include "selftest_engine.h" 0008 0009 int intel_engine_live_selftests(struct drm_i915_private *i915) 0010 { 0011 static int (* const tests[])(struct intel_gt *) = { 0012 live_engine_pm_selftests, 0013 NULL, 0014 }; 0015 struct intel_gt *gt = to_gt(i915); 0016 typeof(*tests) *fn; 0017 0018 for (fn = tests; *fn; fn++) { 0019 int err; 0020 0021 err = (*fn)(gt); 0022 if (err) 0023 return err; 0024 } 0025 0026 return 0; 0027 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |