projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
280b54a
)
drm/i915/selftests: Skip the execlists tests on !execlists machines
author
Chris Wilson
<
[email protected]
>
Fri, 4 May 2018 12:42:02 +0000
(13:42 +0100)
committer
Chris Wilson
<
[email protected]
>
Fri, 4 May 2018 20:14:52 +0000
(21:14 +0100)
Ignore the tests looking at the innards of execlists and its submission
tasklets on machines that don't support execlists!
Signed-off-by: Chris Wilson <
[email protected]
>
Reviewed-by: Tvrtko Ursulin <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/selftests/intel_lrc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/selftests/intel_lrc.c
b/drivers/gpu/drm/i915/selftests/intel_lrc.c
index ee7e22d18ff8f457953ca1e127a2906eb834a608..b7460b5dd4f73cdc258ac112b56dea6e164395ee 100644
(file)
--- a/
drivers/gpu/drm/i915/selftests/intel_lrc.c
+++ b/
drivers/gpu/drm/i915/selftests/intel_lrc.c
@@
-505,5
+505,9
@@
int intel_execlists_live_selftests(struct drm_i915_private *i915)
SUBTEST(live_preempt),
SUBTEST(live_late_preempt),
};
+
+ if (!HAS_EXECLISTS(i915))
+ return 0;
+
return i915_subtests(tests, i915);
}