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:
921d07d
)
drm/i915/selftests: Skip over live context testing when wedged
author
Chris Wilson
<
[email protected]
>
Fri, 6 Jul 2018 06:53:14 +0000
(07:53 +0100)
committer
Chris Wilson
<
[email protected]
>
Fri, 6 Jul 2018 10:25:28 +0000
(11:25 +0100)
If the GPU is terminally wedged we cannot submit any requests into a
context, completely unfulfilling our purpose of doing so. As this
expectedly fails, skip over the test.
Signed-off-by: Chris Wilson <
[email protected]
>
Reviewed-by: Matthew Auld <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/selftests/i915_gem_context.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/selftests/i915_gem_context.c
b/drivers/gpu/drm/i915/selftests/i915_gem_context.c
index cc848ceeb3c316b692457b8cff6466fd47f8f5da..0b36265a0f96d1fdcd165de8b2f1e88336c6dce9 100644
(file)
--- a/
drivers/gpu/drm/i915/selftests/i915_gem_context.c
+++ b/
drivers/gpu/drm/i915/selftests/i915_gem_context.c
@@
-599,6
+599,9
@@
int i915_gem_context_live_selftests(struct drm_i915_private *dev_priv)
bool fake_alias = false;
int err;
+ if (i915_terminally_wedged(&dev_priv->gpu_error))
+ return 0;
+
/* Install a fake aliasing gtt for exercise */
if (USES_PPGTT(dev_priv) && !dev_priv->mm.aliasing_ppgtt) {
mutex_lock(&dev_priv->drm.struct_mutex);