mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 12:52:55 +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:
@@ -40,7 +40,7 @@ int main(int argc, char** argv)
|
||||
pci_dev = intel_get_pci_device();
|
||||
intel_get_mmio(pci_dev);
|
||||
|
||||
if (IS_IRONLAKE(pci_dev->device_id)) {
|
||||
if (IS_GEN5(pci_dev->device_id)) {
|
||||
printf("Restore method:\n");
|
||||
|
||||
printf("intel_reg_write 0x%x 0x%08x\n",
|
||||
|
||||
Reference in New Issue
Block a user