intel: Use the CHIPSET macro in the PCI ID tables for the device name.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 5 Jun 2013 02:01:51 +0000 (19:01 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 6 Jun 2013 21:28:35 +0000 (14:28 -0700)
commit757ad82867252c2883ea94dad582db086e485f04
tree8d1fc3f51202663f4e38ba033cd92f806212d6e0
parentea92b700df602be2ce08dd42052ff38f36148948
intel: Use the CHIPSET macro in the PCI ID tables for the device name.

Putting the human readable device names directly in the PCI ID list
consolidates things in one place.  It also makes it easy to customize
the name on a per-PCI ID basis without a huge code explosion.

Based on a patch by Kristian Høgsberg.

v2: Fix 830M/845G names and #undef CHIPSET (caught by Emit Velikov).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
include/pci_ids/i915_pci_ids.h
include/pci_ids/i965_pci_ids.h
include/pci_ids/pci_id_driver_map.h
src/mesa/drivers/dri/intel/intel_context.c