loader: add special logic to distinguish nouveau from nouveau_vieux

Graphics / Mesa 3D Graphics Library / Mesa - Ilia Mirkin [alum.mit.edu] - 19 March 2014 17:17 UTC

There are a lot of different pci ids supported by nouveau, and more are added all the time. The relevant distinguisher between drivers is the chipset id.

5198981 loader: add special logic to distinguish nouveau from nouveau_vieux
include/pci_ids/pci_id_driver_map.h | 81 ---------------------------------
src/glx/dri2_glx.c | 20 ++++-----
src/loader/Makefile.sources | 3 +-
src/loader/loader.c | 5 ++-
src/loader/pci_id_driver_map.c | 55 +++++++++++++++++++++++
src/loader/pci_id_driver_map.h | 85 +++++++++++++++++++++++++++++++++++
6 files changed, 156 insertions(+), 93 deletions(-)

Upstream: cgit.freedesktop.org


  • Share