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:
7783dec
)
drm/i915/selftests: Skip huge pages live tests if wedged
author
Chris Wilson
<
[email protected]
>
Fri, 6 Jul 2018 06:53:13 +0000
(07:53 +0100)
committer
Chris Wilson
<
[email protected]
>
Fri, 6 Jul 2018 10:25:16 +0000
(11:25 +0100)
We test the GPU handling of huge pages by submitting requests that write
into a huge page, but if the GPU is irrecoverably wedged we cannot
submit any requests. As the test expectedly fails, skip over it.
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/huge_pages.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/selftests/huge_pages.c
b/drivers/gpu/drm/i915/selftests/huge_pages.c
index 39699939587dac858051b099fd796fbf1688a7a8..1193dd36913a6b8adfbcabfa6047604886f2129e 100644
(file)
--- a/
drivers/gpu/drm/i915/selftests/huge_pages.c
+++ b/
drivers/gpu/drm/i915/selftests/huge_pages.c
@@
-1748,6
+1748,9
@@
int i915_gem_huge_page_live_selftests(struct drm_i915_private *dev_priv)
return 0;
}
+ if (i915_terminally_wedged(&dev_priv->gpu_error))
+ return 0;
+
file = mock_file(dev_priv);
if (IS_ERR(file))
return PTR_ERR(file);