mb/gigabyte/ga-g41m-es2l: Add IRQs for PCI express graphics in ACPI

With this patch and the previous ones in this set,
PCI express graphics is now working.

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218
        [GeForce 210] [10de:0a65] (rev a2) (prog-if 00 [VGA controller])

Change-Id: Ife691fb381e90e7744fe2ac4e20977be53419a14
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Reviewed-on: https://review.coreboot.org/16497
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Damien Zammit 2016-09-05 02:39:20 +10:00 committed by Nico Huber
parent cbc0416ea7
commit 93157f6c1c
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,8 @@ Method(_PRT)
{ {
If (PICM) { If (PICM) {
Return (Package() { Return (Package() {
/* PEG */
Package() { 0x0001ffff, 0, 0, 16 },
/* Internal GFX */ /* Internal GFX */
Package() { 0x0002ffff, 0, 0, 16 }, Package() { 0x0002ffff, 0, 0, 16 },
Package() { 0x0002ffff, 1, 0, 17 }, Package() { 0x0002ffff, 1, 0, 17 },
@ -46,6 +48,8 @@ Method(_PRT)
}) })
} Else { } Else {
Return (Package() { Return (Package() {
/* PEG */
Package() { 0x0001ffff, 0, \_SB.PCI0.LPCB.LNKA, 0 },
/* Internal GFX */ /* Internal GFX */
Package() { 0x0002ffff, 0, \_SB.PCI0.LPCB.LNKA, 0 }, Package() { 0x0002ffff, 0, \_SB.PCI0.LPCB.LNKA, 0 },
Package() { 0x0002ffff, 1, \_SB.PCI0.LPCB.LNKB, 0 }, Package() { 0x0002ffff, 1, \_SB.PCI0.LPCB.LNKB, 0 },