diff options
author | WANG Siyuan <wangsiyuanbuaa@gmail.com> | 2013-09-23 15:12:56 +0800 |
---|---|---|
committer | Bruce Griffith <Bruce.Griffith@se-eng.com> | 2013-10-15 05:02:06 +0200 |
commit | 2c86fc434383838c593c38feb5c28de78f18ea8d (patch) | |
tree | 087130c9add79d6f311c90fcff2b3c32f11d1a80 /src | |
parent | f38145e81c7ddc0c9a652d0fd833714264c2c6de (diff) |
ASRock IMB_A180: fix Ubuntu HDMI audio issue
Ubuntu's HDMI audio has noise and echo. Disable NoSnoopEnable can
resolve this issue.
I have tested on Ubuntu 13.04 with latest graphic driver.
Change-Id: I09c19b8925eedee03cfb1d8c0831a84e8aeeba4f
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Reviewed-on: http://review.coreboot.org/3937
Tested-by: build bot (Jenkins)
Reviewed-by: Dave Frodin <dave.frodin@se-eng.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/asrock/imb-a180/get_bus_conf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/asrock/imb-a180/get_bus_conf.c b/src/mainboard/asrock/imb-a180/get_bus_conf.c index fb63ace4c5..a380872566 100644 --- a/src/mainboard/asrock/imb-a180/get_bus_conf.c +++ b/src/mainboard/asrock/imb-a180/get_bus_conf.c @@ -54,6 +54,7 @@ void get_bus_conf(void) { u32 apicid_base; u32 status; + u32 value; device_t dev; int i, j; @@ -98,6 +99,12 @@ void get_bus_conf(void) pci_write_config32(dev, 0xF8, 0); pci_write_config32(dev, 0xFC, 5); /* TODO: move it to dsdt.asl */ + /* disable No Snoop */ + dev = dev_find_slot(0, PCI_DEVFN(1, 1)); + value = pci_read_config32(dev, 0x60); + value &= ~(1 << 11); + pci_write_config32(dev, 0x60, value); + sbdn_yangtze = 0; memset(bus_yangtze, 0, sizeof(bus_yangtze)); |