From 41570d9bf583d35687bab88ac88620af41404836 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 14 Feb 2011 15:56:14 +0000 Subject: Remove confusing use of IS_9XX ... and test for what we mean instead. Reported-by: Diego Celix Signed-off-by: Chris Wilson --- tools/intel_gtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/intel_gtt.c') diff --git a/tools/intel_gtt.c b/tools/intel_gtt.c index bc6d222d..4927b7e1 100644 --- a/tools/intel_gtt.c +++ b/tools/intel_gtt.c @@ -51,7 +51,7 @@ int main(int argc, char **argv) devid = pci_dev->device_id; intel_get_mmio(pci_dev); - if (!IS_9XX(devid)) { + if (IS_GEN2(devid)) { printf("Unsupported chipset for gtt dumper\n"); exit(1); } -- cgit v1.2.3