]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Set HDMI hot plug interrupt enable for only the output in question.
authorMa Ling <ling.ma@intel.com>
Mon, 11 May 2009 03:33:22 +0000 (11:33 +0800)
committerEric Anholt <eric@anholt.net>
Thu, 14 May 2009 23:00:31 +0000 (16:00 -0700)
commite868abb7fe17339ba7043298133383d598dca301
tree2cce38e2911d524bdf0c326404138b53ab1e6af4
parent3f4d14f249666e03ba408ea5560ab09c940fe036
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>
drivers/gpu/drm/i915/intel_hdmi.c