intel_gpu_top: Trust the register access is safe

Fixes intel_gpu_top on gen3 which otherwise refuses to do mmio.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-03-19 14:25:13 +00:00
parent bf6c480d6d
commit 3928569eed

View File

@ -509,7 +509,7 @@ int main(int argc, char **argv)
}
/* Grab access to the registers */
intel_register_access_init(pci_dev, 1);
intel_register_access_init(pci_dev, 0);
ring_init(&render_ring);
if (IS_GEN4(devid) || IS_GEN5(devid))