drm/nouveau/agp: add a quirk list to limit agp modes
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 27 Oct 2013 15:54:09 +0000 (11:54 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 8 Nov 2013 05:39:54 +0000 (15:39 +1000)
commitfd34381b0e2827228cbda45aa2cca4127ff073b2
tree731942ed4d819678d1993e8dfd3e075d2122fbd7
parente8d95b22b415bab6e411d6d0db82e26b4227762b
drm/nouveau/agp: add a quirk list to limit agp modes

Certain combinations of hardware can't actually support the maximum
detected speed. Add a quirk list that lists pairs of hostbridge/chip pci
ids and the mode that they should work with.

See https://bugs.freedesktop.org/show_bug.cgi?id=20341

Reported-by: Jason Detring <detringj@gmail.com>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_agp.c