diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-01 13:35:36 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-01 13:37:04 +0000 |
commit | 3c5c8ba71c4c32dcac1cf0493210d21fc9b33c8a (patch) | |
tree | ad650b0f236e822c221049ff3d43d76cdb87bc87 /tools/intel_gtt.c | |
parent | c1e9795050b1e4b76c7f9acd3cc5071f0ecb06ed (diff) |
Search for the first Intel dri device.
This is vital in a multi-GPU system so that we only test the Intel card
and not the discrete GPUs.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/intel_gtt.c')
-rw-r--r-- | tools/intel_gtt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_gtt.c b/tools/intel_gtt.c index 2c1639cd4..bc6d222db 100644 --- a/tools/intel_gtt.c +++ b/tools/intel_gtt.c @@ -56,7 +56,7 @@ int main(int argc, char **argv) exit(1); } - if (IS_G4X(devid) || IS_IRONLAKE(devid)) + if (IS_G4X(devid) || IS_GEN5(devid)) gtt = ((unsigned char *)mmio + MB(2)); else if (IS_965(devid)) gtt = ((unsigned char *)mmio + KB(512)); |