Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43070 )
Change subject: device/pci_rom.c: Treat BASE_DISPLAY class as GPU
......................................................................
Patch Set 4: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/43070
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0f203a013c010337ae7a9fddbd13330f380050a4
Gerrit-Change-Number: 43070
Gerrit-PatchSet: 4
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 04 Aug 2020 09:53:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Hello build bot (Jenkins), Angel Pons, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43070
to look at the new patch set (#3).
Change subject: device/pci_rom.c: Treat BASE_DISPLAY class as GPU
......................................................................
device/pci_rom.c: Treat BASE_DISPLAY class as GPU
The DISPLAY_3D class is for graphics devices that are not connected to displays.
This includes GPUs implementing muxless Nvidia Optimus.
According to CB:31502, some AMD GPUs are identified as DISPLAY_OTHER. Therefore,
consider the entire DISPLAY class as GPUs.
Change-Id: I0f203a013c010337ae7a9fddbd13330f380050a4
Signed-off-by: Benjamin Doron <benjamin.doron00(a)gmail.com>
---
M src/device/pci_rom.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/43070/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/43070
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0f203a013c010337ae7a9fddbd13330f380050a4
Gerrit-Change-Number: 43070
Gerrit-PatchSet: 3
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43070 )
Change subject: device/pci_rom: DISPLAY_3D class is also valid
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/43070
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0f203a013c010337ae7a9fddbd13330f380050a4
Gerrit-Change-Number: 43070
Gerrit-PatchSet: 2
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 04 Aug 2020 08:28:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43070 )
Change subject: device/pci_rom: DISPLAY_3D class is also valid
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/43070/2//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/43070/2//COMMIT_MSG@7
PS2, Line 7: device/pci_rom: DISPLAY_3D class is also valid
device/pci_rom.c: Also treat DISPLAY_3D class as GPU
--
To view, visit https://review.coreboot.org/c/coreboot/+/43070
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0f203a013c010337ae7a9fddbd13330f380050a4
Gerrit-Change-Number: 43070
Gerrit-PatchSet: 2
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 04 Aug 2020 07:56:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Keith Hui has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/41091 )
Change subject: nb/intel/i440bx: Avoid ROM area
......................................................................
nb/intel/i440bx: Avoid ROM area
Declare the ROM area to be read only in ACPI, and excludes it from
ranges available for MMIO.
Change-Id: Iede1452cce8a15f85d70a3c38b4ec9e2d4a54f9e
Signed-off-by: Keith Hui <buurin(a)gmail.com>
---
M src/northbridge/intel/i440bx/acpi/i440bx.asl
M src/northbridge/intel/i440bx/acpi/sb_pci0_crs.asl
2 files changed, 18 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/41091/1
diff --git a/src/northbridge/intel/i440bx/acpi/i440bx.asl b/src/northbridge/intel/i440bx/acpi/i440bx.asl
index e1e4e61..70c3aaa 100644
--- a/src/northbridge/intel/i440bx/acpi/i440bx.asl
+++ b/src/northbridge/intel/i440bx/acpi/i440bx.asl
@@ -26,10 +26,26 @@
0x00100000, // Address Base
0x00000000, // Address Length
_Y00)
+ /* Reserved for firmware flash */
+ Memory32Fixed (ReadOnly,
+ 0x100000000 - CONFIG_ROM_SIZE, // Address Base
+ CONFIG_ROM_SIZE, // Address Length
+ _Y01)
})
CreateDWordField (BUF1, _Y00._LEN, EMLN) // _LEN: Length
+ CreateDWordField (BUF1, _Y01._BAS, FLSB) // _BAS: Base
+ /*
+ * Use ShiftLeft to avoid 64bit constant (for XP).
+ * This will work even if the OS does 32bit arithmetic, as
+ * 32bit (0x00000000 - TOM1) will wrap and give the same
+ * result as 64bit (0x100000000 - TOM1).
+ */
+
+ /* Top of 4GB */
+ ShiftLeft(0x10000000, 4, Local0)
+ FLSB = Local0 - CONFIG_ROM_SIZE;
EMLN = \_SB.PCI0.NB.TOM1 - 0x100000;
- Return (BUF1)
+ Return (BUF1) /* \_SB_.MEM1._CRS.BUF1 */
}
}
diff --git a/src/northbridge/intel/i440bx/acpi/sb_pci0_crs.asl b/src/northbridge/intel/i440bx/acpi/sb_pci0_crs.asl
index e40b1fc..fa5948f 100644
--- a/src/northbridge/intel/i440bx/acpi/sb_pci0_crs.asl
+++ b/src/northbridge/intel/i440bx/acpi/sb_pci0_crs.asl
@@ -61,6 +61,7 @@
*/
MM1B = \_SB.PCI0.NB.TOM1
ShiftLeft(0x10000000, 4, Local0)
+ Local0 -= CONFIG_ROM_SIZE
MM1L = Local0 - MM1B
Return(TMP)
--
To view, visit https://review.coreboot.org/c/coreboot/+/41091
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iede1452cce8a15f85d70a3c38b4ec9e2d4a54f9e
Gerrit-Change-Number: 41091
Gerrit-PatchSet: 1
Gerrit-Owner: Keith Hui <buurin(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange