Bug 84273 - [HSW/BYT]igt/pm_rpm/i2c fails with VGA
Summary: [HSW/BYT]igt/pm_rpm/i2c fails with VGA
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
: 87481 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-24 08:55 UTC by Guo Jinxian
Modified: 2015-03-03 02:59 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (116.15 KB, text/plain)
2014-09-24 08:55 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-09-24 08:55:06 UTC
Created attachment 106770 [details]
dmesg

==System Environment==
--------------------------
Regression: No.
I don't find good commit on both kernel and igt.
Here has the same issue on BYT before(bug 62940)

Non-working platforms: HSW

==kernel==
--------------------------
origin/drm-intel-nightly: 1c38dbc94bc61e685c72994cc9e634d4eb8c4da1(fails)
    drm-intel-nightly: 2014y-09m-23d-14h-26m-24s UTC integration manifest
origin/drm-intel-next-queued: 9adccc6063d1cf6ba38a5a26b87001554105be18(fails)
    drm/i915: add SW tracking to FBC enabling
origin/drm-intel-fixes: c84db77010877da6c5da119868ed54c43d59e726(fails)
    drm/i915/hdmi: fix hdmi audio state readout

==Bug detailed description==
-----------------------------
igt/pm_rpm/i2c fails

Output:
[root@x-hsw24 tests]# ./pm_rpm --run-subtest i2c
IGT-Version: 1.8-g4b81e9c (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_1c38db_20140924+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Test assertion failure function test_i2c, file pm_rpm.c:644:
Failed assertion: i2c_edids == drm_edids
Last errno: 6, No such device or address
error: 1 != 0
Subtest i2c: FAIL (0.322s)

==Reproduce steps==
---------------------------- 
1. ./pm_rpm --run-subtest i2c
Comment 1 Guo Jinxian 2014-09-24 08:56:33 UTC
Update:

Here has the same issue on BYT before(bug 82940)
Comment 2 Paulo Zanoni 2014-09-24 19:20:55 UTC
Hi

Just to confirm: this machine has only a VGA output attached, right?

The bug does not happen if you use DP or HDMI, right?

Thanks,
Paulo
Comment 3 Guo Jinxian 2014-09-25 07:49:51 UTC
(In reply to comment #2)
> Hi
> 
> Just to confirm: this machine has only a VGA output attached, right?
> 
> The bug does not happen if you use DP or HDMI, right?
> 
> Thanks,
> Paulo

Yes, you are right, the failure only happens on VGA output. Plugged DP monitor then run the test, the result is pass.
Comment 4 Guo Jinxian 2014-10-22 03:27:19 UTC
The failure is able to reproduce on BYT too.

root@x-byt06:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rpm --run-subtest i2c
IGT-Version: 1.8-gbba1cd0 (x86_64) (Linux: 3.18.0-rc1_drm-intel-nightly_f2bcbc_20141021+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Test assertion failure function test_i2c, file pm_rpm.c:644:
Failed assertion: i2c_edids == drm_edids
Last errno: 110, Connection timed out
error: 0 != 1
Subtest i2c: FAIL (0.637s)
Comment 5 lu hua 2015-01-04 02:13:09 UTC
*** Bug 87481 has been marked as a duplicate of this bug. ***
Comment 6 Paulo Zanoni 2015-02-27 19:48:24 UTC
Hi

IGT commit f26d8a04c3938845d4db07cf6587b29e287dc2dc "tests/pm_rpm: I2C VGA detection is unreliable" should have fixed this problem.

If the problem still persists, please reopen the bug.

Thanks,
Paulo
Comment 7 Ding Heng 2015-03-03 02:59:20 UTC
(In reply to Paulo Zanoni from comment #6)
> Hi
> 
> IGT commit f26d8a04c3938845d4db07cf6587b29e287dc2dc "tests/pm_rpm: I2C VGA
> detection is unreliable" should have fixed this problem.
> 
> If the problem still persists, please reopen the bug.
> 
> Thanks,
> Paulo

Pass on nightly branch latest kernel commit 55f9f66fbe6a43bd4695a438cbd13dfb1e514cdb(2015-03-03).
Close.


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.