drm/i915: add DisplayPort amp unmute for LPE audio mode
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 31 Jan 2017 20:16:49 +0000 (14:16 -0600)
committerTakashi Iwai <tiwai@suse.de>
Wed, 1 Feb 2017 15:21:49 +0000 (16:21 +0100)
commitd5d8c3a19e43ca588555d88e1d43a00aeacd0e56
treec54fe17c6d156efc1ee322de5b35ea03494aef65
parentb5f2be9ae5bf88f5751cc9f5813ed28e7f87402d
drm/i915: add DisplayPort amp unmute for LPE audio mode

Enable unmute/mute amp notification. This doesn't seem to affect
HDMI support so this is done unconditionally.

An earlier version of this patch set a chicken bit at address 0x62F38
prior to the mute/unmute but this register doesn't seem to do anything
so this phase was removed.

v1->v2: Drop needless pipe A check, avoid temporary reg offset variable.
v2->v3: Add "_" prefix to VLV_AUD_PORT_EN_X_DBG as they are internal.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_lpe_audio.c