]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915/vlv: enable HDA display audio for Valleyview2
authorMengdong Lin <mengdong.lin@intel.com>
Fri, 1 Nov 2013 04:17:03 +0000 (00:17 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 5 Nov 2013 06:57:26 +0000 (07:57 +0100)
commit9ca2fe731b3f12afbc97cf0050dfa4184bd2234c
tree141d726d7eb6cf7e5a9b80d1594d4cfc8d009c3b
parent48f34e10169dbb3dd7a19af64e328492b7f54af4
drm/i915/vlv: enable HDA display audio for Valleyview2

This patch defines HD-Audio configuration registers and enables display audio
from HDA controller for Valleyview2.

v2: fix missing offset VLV_DISPLAY_BASE
v3: rename patch from 'enable HDMI audio' to 'enable HDA display audio', since
    it's for both HDMI and DP audio
v4: use enc_to_dig_port() to get port number, instead of using Haswell specific
    function intel_ddi_get_encoder_port()

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c