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)
commit9d2949a4cdb77b9b5c243c79be6489d34d770c7c
tree2cce38e2911d524bdf0c326404138b53ab1e6af4
parentc9ed4486bdee3b54cb544fc181057bc6bf1ae45c
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