From 50d46750d90b30a06d15583abe693550955ebd50 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Fri, 12 Oct 2012 10:45:52 +0200 Subject: [PATCH] lib/mmio: gen2 has a bigger register window, too It's split up into two parts, with the gtt pte range in between. Without this I couldn't read the ADPA register ... --- lib/intel_mmio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/intel_mmio.c b/lib/intel_mmio.c index ecb049b..2281037 100644 --- a/lib/intel_mmio.c +++ b/lib/intel_mmio.c @@ -92,7 +92,7 @@ intel_get_mmio(struct pci_device *pci_dev) gen = intel_gen(devid); if (gen < 3) - mmio_size = 64*1024; + mmio_size = 512*1024; else if (gen < 5) mmio_size = 512*1024; else -- 2.7.4