Created attachment 86035 [details] dmesg System Environment: -------------------------- Platform: Haswell Kernel: (drm-intel-next-queued) 47e4248c5f2bdd229052564ae1cc47b186409cd2 Bug detailed description: ----------------------------- It fails on haswell with -queued,-fixes and -nightly kernel. Following cases also fail: igt/pc8/batch igt/pc8/drm-resources-equal igt/pc8/register-compare igt/pc8/stress-test Bisect shows:9d49c0ef40890064ca552230c2e3ae0e1fb3b617 is the first bad commit. commit 9d49c0ef40890064ca552230c2e3ae0e1fb3b617 Author: Paulo Zanoni <paulo.r.zanoni@intel.com> AuthorDate: Thu Sep 12 18:06:43 2013 -0300 Commit: Daniel Vetter <daniel.vetter@ffwll.ch> CommitDate: Fri Sep 13 11:40:19 2013 +0200 drm/i915: move more code to __i915_drm_thaw Both callers had code to sanitize the uncore and restore the GTT mappings just before calling __i915_drm_thaw, so Chris suggested I should unify the code. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> output: Test assertion failure function get_residency, file pc8.c:124: Failed assertion: rc == sizeof(ret) Subtest drm-resources-equal: FAIL Subtest batch: FAIL Subtest i2c: FAIL Subtest stress-test: FAIL Subtest register-compare: FAIL Reproduce steps: ---------------------------- 1. ./pc8 --run-subtest i2c
Paulo's feature broken by Paulo's patch ...
But the I2C test fails since it was added, I know this. Are you sure this bisect is correct?
The failure in line 124 is expected since your machine is not ULT. But we should be getting a "skip" instead of a failure on that case. Can you please run ./pc8 without the "--run-subtest i2c" argument and then paste the full output and the return value here? We should really get a skip instead of a failure. I wonder if igt_fixture/igt_require are not doing the right thing.
(In reply to comment #3) > The failure in line 124 is expected since your machine is not ULT. But we > should be getting a "skip" instead of a failure on that case. Run it on ULT, the result is "skip". If run it on desktop, it is fail. output on ULT: Machine is not reaching PC8+ states, please check its configuration. Test requirement not met in function main, file pc8.c:770: Test requirement: (!(setup_environment())) Subtest drm-resources-equal: SKIP Subtest batch: SKIP Subtest i2c: SKIP Subtest stress-test: SKIP Subtest register-compare: SKIP > Can you please run ./pc8 without the "--run-subtest i2c" argument and then > paste the full output and the return value here? We should really get a skip > instead of a failure. Run ./pc8 output: Test assertion failure function get_residency, file pc8.c:124: Failed assertion: rc == sizeof(ret) Subtest drm-resources-equal: FAIL Subtest batch: FAIL Subtest i2c: FAIL Subtest stress-test: FAIL Subtest register-compare: FAIL
I just committed "tests/pc8: fix supports_pc8_plus_residencies" to the intel-gpu-tools repository. With this, non-ULT machines should now SKIP instead of fail. The i2c test should still fail on properly-configured ULT machines, but this problem requires a Kernel patch.
Fixed.
Verified.
Just to check: This testcase should fail on HSW ULT. Can you confirm that and if so file a bug report about it?
(In reply to comment #8) > Just to check: This testcase should fail on HSW ULT. Can you confirm that > and if so file a bug report about it? It also skip on HSW ULT. ./pc8 output: Machine is not reaching PC8+ states, please check its configuration. Test requirement not met in function main, file pc8.c:770: Test requirement: (!(setup_environment())) Subtest drm-resources-equal: SKIP Subtest batch: SKIP Subtest i2c: SKIP Subtest stress-test: SKIP Subtest register-compare: SKIP
(In reply to comment #9) > (In reply to comment #8) > > Just to check: This testcase should fail on HSW ULT. Can you confirm that > > and if so file a bug report about it? > > It also skip on HSW ULT. > ./pc8 > output: > Machine is not reaching PC8+ states, please check its configuration. > Test requirement not met in function main, file pc8.c:770: > Test requirement: (!(setup_environment())) > Subtest drm-resources-equal: SKIP > Subtest batch: SKIP > Subtest i2c: SKIP > Subtest stress-test: SKIP > Subtest register-compare: SKIP That's not good ... Can you please file a new bug report about this? Paulo, I think we need to check for pci ids in the testcase and only skip it for !ULT, but fail if an ULT machine fails to reach pc8.
(In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #8) > > > Just to check: This testcase should fail on HSW ULT. Can you confirm that > > > and if so file a bug report about it? > > > > It also skip on HSW ULT. > > ./pc8 > > output: > > Machine is not reaching PC8+ states, please check its configuration. > > Test requirement not met in function main, file pc8.c:770: > > Test requirement: (!(setup_environment())) > > Subtest drm-resources-equal: SKIP > > Subtest batch: SKIP > > Subtest i2c: SKIP > > Subtest stress-test: SKIP > > Subtest register-compare: SKIP > > That's not good ... Can you please file a new bug report about this? Paulo, > I think we need to check for pci ids in the testcase and only skip it for > !ULT, but fail if an ULT machine fails to reach pc8. See my response on bug #69838. I think we can move the discussion to there.
Closing old verified.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.