intel: Use an integer for chipset generation instead of many conditionals.
authorEric Anholt <eric@anholt.net>
Tue, 2 Mar 2010 16:49:36 +0000 (08:49 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 2 Mar 2010 18:12:46 +0000 (10:12 -0800)
commita1f9ea765ddc5cad45e36c4931663b21992727ee
tree6ee900b7d55e6c814720093c4b228f6586ec7aa2
parentb50964027bef249a0cc3d511de05c2464e0a1e22
intel: Use an integer for chipset generation instead of many conditionals.

Saves a bunch of comparisons in hot paths.
intel/intel_bufmgr_gem.c