mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 05:13:47 +00:00
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>
This commit is contained in:
+1
-1
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user