mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-21 06:46:13 +00:00
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:
parent
bf6c480d6d
commit
3928569eed
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user