Summary: | [pch ILK/SNB/IVB] poor power management if an external VGA display was connected | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Ouping Zhang <ouping.zhang> | ||||||||
Component: | DRM/Intel | Assignee: | Jesse Barnes <jbarnes> | ||||||||
Status: | CLOSED FIXED | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | medium | CC: | ben, chris, daniel, jbarnes | ||||||||
Version: | unspecified | ||||||||||
Hardware: | x86 (IA32) | ||||||||||
OS: | Linux (All) | ||||||||||
Whiteboard: | |||||||||||
i915 platform: | i915 features: | ||||||||||
Attachments: |
|
Description
Ouping Zhang
2012-04-18 18:23:37 UTC
Please attach intel_reg_dumper for: 1. boot, 2. after plugging in VGA 3. after disconnecting VGA. Created attachment 60363 [details]
intel_reg_dumper when boot
Created attachment 60364 [details]
intel_reg_dumper when plugging VGA
Created attachment 60365 [details]
intel_reg_dumper when disconnecting VGA
We leave what should be irrelevant state in the low bits of disabled pipe/planes/transports, but everything is disabled as expected. The only register I don't know about is: boot: PORT_DBG: 0x00000007 (HW DRRS off) unattached: PORT_DBG: 0x00000307 (HW DRRS off) I wonder what is being flagged. Being paranoid, have you checked that the Windows driver returns to initial power configuration after the VGA is unplugged? Those additional PORT_DBG bits seem to indicate that "FDIB Init Status" went from the "Pattern 1" state on boot into "Active" one after unplugging on IVB docs, but they seem to be missing from SNB ones. So I don't know if they are bogus there or I was looking at wrong (or old) documentation for SNB. this issue can be reproduced on IVB, SNB and Piketon. (In reply to comment #7) > this issue can be reproduced on IVB, SNB and Piketon. One (In reply to comment #5) > We leave what should be irrelevant state in the low bits of disabled > pipe/planes/transports, but everything is disabled as expected. The only > register I don't know about is: > > boot: PORT_DBG: 0x00000007 (HW DRRS off) > unattached: PORT_DBG: 0x00000307 (HW DRRS off) > > I wonder what is being flagged. > > Being paranoid, have you checked that the Windows driver returns to initial > power configuration after the VGA is unplugged? It looks like we're also driving pipeB for a 1280x1024 after disconnect. I agree this shouldn't make a difference, but perhaps 0'ing out all those fields would make a difference. Of other note to me, Both of these are still driving the lane x2 instead of x1 FDI_TXB_CTL FDI_RXB_CTL has bits 8, and 9 unmasked after unplug FDI_RXB_IMR: 0x00000cff Finally, too lazy to investigate bits right now, but PCH_ADPA also seems worth investigating. with the latest kernel and X11, the bug has been fixed. (In reply to comment #8) > (In reply to comment #7) > this issue can be reproduced on IVB, SNB and > Piketon. One (In reply to comment #5) > We leave what should be irrelevant > state in the low bits of disabled > pipe/planes/transports, but everything > is disabled as expected. The only > register I don't know about is: > > > boot: PORT_DBG: 0x00000007 (HW DRRS off) > unattached: PORT_DBG: > 0x00000307 (HW DRRS off) > > I wonder what is being flagged. > > Being > paranoid, have you checked that the Windows driver returns to initial > > power configuration after the VGA is unplugged? It looks like we're also > driving pipeB for a 1280x1024 after disconnect. I agree this shouldn't make > a difference, but perhaps 0'ing out all those fields would make a > difference. Of other note to me, Both of these are still driving the lane > x2 instead of x1 FDI_TXB_CTL FDI_RXB_CTL has bits 8, and 9 unmasked after > unplug FDI_RXB_IMR: 0x00000cff Finally, too lazy to investigate bits right > now, but PCH_ADPA also seems worth investigating. Thanks for the update, closing this now. /me has no idea why all the VGA-related power wasters are suddenly all fixed ... I also confused, when I test the bug on SNB with 14'' display, the gap power consumption is about 0.8w between plugging in VGA and disconnecting VGA, and when disconnecting VGA, the power falls to the boot. (In reply to comment #10) > Thanks for the update, closing this now. /me has no idea why all the > VGA-related power wasters are suddenly all fixed ... |
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.