sna/dri: Unknown generations are given the max value and presume i965_dri.so

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-12-01 09:44:49 +00:00
parent 382bb7bf77
commit a8a99428c1
1 changed files with 1 additions and 1 deletions

View File

@ -2419,7 +2419,7 @@ static const char *dri_driver_name(struct sna *sna)
Bool dummy;
if (s == NULL || xf86getBoolValue(&dummy, s))
return (sna->kgem.gen && sna->kgem.gen < 040) ? "i915" : "i965";
return sna->kgem.gen < 040 ? "i915" : "i965";
return s;
}