Summary: | HDMI audio stops working when X starts | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | paul <paul> | ||||||
Component: | Driver/intel | Assignee: | MaLing <ling.ma> | ||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | haien.liu | ||||||
Version: | unspecified | ||||||||
Hardware: | x86-64 (AMD64) | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
paul
2009-04-24 02:09:31 UTC
hi paul, Could you upload you xorg log file with modedebug option on? thanks maling Created attachment 25542 [details]
X log with modedebug
Sorry for the delay - travelling.
Created attachment 25684 [details] [review] please try the patch on your machine, thanks. writting to HOT Plug Interrupt Detect Enable bit will generate an interrupt which is caught by audio driver ,but video driver's operation doesn't consider specified output as below. OUTREG(PORT_HOTPLUG_EN, temp | HDMIB_HOTPLUG_INT_EN | HDMIC_HOTPLUG_INT_EN | HDMID_HOTPLUG_INT_EN); The above debug patch intends to handle corresponding output precisely, please try it on your machine. Thanks Ma Ling Patch works. Fantastic, thanks! There is a missing close brace in the patch. Paul Pulled to 2.6.30: commit 9d2949a4cdb77b9b5c243c79be6489d34d770c7c Author: Ma Ling <ling.ma@intel.com> Date: Mon May 11 11:33:22 2009 +0800 drm/i915: Set HDMI hot plug interrupt enable for only the output in question. We detect HDMI output connection status by writing to HOT Plug Interrupt Detect Enable bit in PORT_HOTPLUG_EN. The behavior will generate a specified interrupt, which is caught by audio driver, but during one detection driver set all Detect Enable bits of HDMIB, HDMIC HDMID, and generate wrong interrupt signals for current output, according to the signals audio driver misunderstand device status. The patch intends to handle corresponding output precisely. It fixed freedesktop.org bug #21371 Signed-off-by: Ma Ling <ling.ma@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net> |
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.