]> git.ipfire.org Git - people/arne_f/kernel.git/commit
drm/i915: HDMI hot remove notification to audio driver
authorWu Fengguang <fengguang.wu@intel.com>
Fri, 9 Dec 2011 12:42:20 +0000 (20:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Feb 2012 19:16:57 +0000 (11:16 -0800)
commitfebaacc3a6165f0cf54ff512f1e7e51563fd27b1
treecea695b4f05bbf5865c977fed3ccb2a3ee894041
parent43f4a516b2f5492bc597f3753b693ad8adc62748
drm/i915: HDMI hot remove notification to audio driver

commit 2deed761188d7480eb5f7efbfe7aa77f09322ed8 upstream.

On HDMI monitor hot remove, clear SDVO_AUDIO_ENABLE accordingly, so that
the audio driver will receive hot plug events and take action to refresh
its device state and ELD contents.

The cleared SDVO_AUDIO_ENABLE bit needs to be restored to prevent losing
HDMI audio after DPMS on.

CC: Wang Zhenyu <zhenyu.z.wang@intel.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/intel_hdmi.c