From 3928569eede8ca5f2e9ee1fa4e7fb9989956b2a9 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 19 Mar 2012 14:25:13 +0000 Subject: [PATCH] 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 --- tools/intel_gpu_top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/intel_gpu_top.c b/tools/intel_gpu_top.c index 5a016c7..e8f02d0 100644 --- a/tools/intel_gpu_top.c +++ b/tools/intel_gpu_top.c @@ -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)) -- 2.7.4