From 3c5c8ba71c4c32dcac1cf0493210d21fc9b33c8a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 1 Feb 2011 13:35:36 +0000 Subject: 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 --- lib/instdone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/instdone.c') diff --git a/lib/instdone.c b/lib/instdone.c index 722fb039..305f3618 100644 --- a/lib/instdone.c +++ b/lib/instdone.c @@ -205,7 +205,7 @@ init_instdone_definitions(uint32_t devid) gen6_instdone2_bit(GEN6_GS_DONE, "GS"); gen6_instdone2_bit(GEN6_VS0_DONE, "VS0"); gen6_instdone2_bit(GEN6_VF_DONE, "VF"); - } else if (IS_IRONLAKE(devid)) { + } else if (IS_GEN5(devid)) { gen4_instdone_bit(ILK_ROW_0_EU_0_DONE, "Row 0, EU 0"); gen4_instdone_bit(ILK_ROW_0_EU_1_DONE, "Row 0, EU 1"); gen4_instdone_bit(ILK_ROW_0_EU_2_DONE, "Row 0, EU 2"); -- cgit v1.2.3