mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-24 06:43:01 +00:00
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 ...
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ intel_get_mmio(struct pci_device *pci_dev)
|
|||||||
|
|
||||||
gen = intel_gen(devid);
|
gen = intel_gen(devid);
|
||||||
if (gen < 3)
|
if (gen < 3)
|
||||||
mmio_size = 64*1024;
|
mmio_size = 512*1024;
|
||||||
else if (gen < 5)
|
else if (gen < 5)
|
||||||
mmio_size = 512*1024;
|
mmio_size = 512*1024;
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user