From: Daniel Vetter Date: Fri, 12 Oct 2012 08:45:52 +0000 (+0200) Subject: lib/mmio: gen2 has a bigger register window, too X-Git-Tag: intel-gpu-tools-1.4~923 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50d46750d90b30a06d15583abe693550955ebd50;p=profile%2Fextras%2Fintel-gpu-tools.git 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 ... --- 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