ALSA: hda - Limit 40bit DMA for AMD HDMI controllers
authorTakashi Iwai <tiwai@suse.de>
Wed, 1 Oct 2014 08:30:53 +0000 (10:30 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 14 Dec 2014 16:24:00 +0000 (16:24 +0000)
commit3f56e727c711f9c9d5bd3e77f8f01c4bcdcbdf64
treea2225c6603cf5b82818b7aeccd398c16661ff7b0
parent8ea4c465ecb59846abed3d000d64b21b8e31aeb0
ALSA: hda - Limit 40bit DMA for AMD HDMI controllers

commit 413cbf469a19e7662ba5025695bf5a573927105a upstream.

AMD/ATI HDMI controller chip models, we already have a filter to lower
to 32bit DMA, but the rest are supposed to be working with 64bit
although the hardware doesn't really work with 63bit but only with 40
or 48bit DMA.  In this patch, we take 40bit DMA for safety for the
AMD/ATI controllers as the graphics drivers does.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[bwh: Backported to 3.2:
 - Adjust context
 - s/AZX_GCAP_64OK/ICH6_GCAP_64OK/]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/pci/hda/hda_intel.c