[coreboot-gerrit] New patch to review for coreboot: b098ce0 lenovo/x60/i915.c: Use `FRAME_BUFFER_PAGES` in `set_gtt()`
Paul Menzel (paulepanter@users.sourceforge.net)
gerrit at coreboot.org
Thu Jun 5 22:52:26 CEST 2014
Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5938
-gerrit
commit b098ce008541cc1416e89d13e508d8761133a739
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date: Thu Jun 5 21:36:18 2014 +0200
lenovo/x60/i915.c: Use `FRAME_BUFFER_PAGES` in `set_gtt()`
The define FRAME_BUFFER_PAGES = (1024 * 768)/1024 is exactly the
amount of needed pages.
Change-Id: Ifae2a50080b0fbcdd0d3489c8da1535cbbb05eef
Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
src/mainboard/lenovo/x60/i915.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mainboard/lenovo/x60/i915.c b/src/mainboard/lenovo/x60/i915.c
index 62a8252..12bcf5c 100644
--- a/src/mainboard/lenovo/x60/i915.c
+++ b/src/mainboard/lenovo/x60/i915.c
@@ -353,7 +353,7 @@ int i915lightup(unsigned int pphysbase, unsigned int piobase,
return 0;
}
- setgtt(0, 800, physbase, 4096);
+ setgtt(0, FRAME_BUFFER_PAGES, physbase, 4096);
temp = READ32(PGETLB_CTL);
printk(BIOS_INFO, "GTT PGETLB_CTL register: 0x%lx\n", temp);
More information about the coreboot-gerrit
mailing list